Correct Answer: <? $jsonvar = '[{"name":"Jhon","gender":"male"}]'; $jsonarray = json_decode($jsonvar, true); print_r($jsonarray); echo $jsonarray[0]["name"]; ?>
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More PHP MCQ Questions