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