i have a var $subject when i print it by echo $subject i get this [["2","subject2","0","0"],["4","ccd","50","5"]]
but when i do echo gettype($subject) i get string 
because of this i am not able to use foreach loop in order to iterate over $subject
how can i get it in array [["2","subject2","0","0"],["4","ccd","50","5"]] format
 
     
    