PHP - File Handling
What will be the output of this PHP code?
$json = '{"name":"John","age":30}';
$obj = json_decode($json);
echo $obj->name;$json = '{"name":"John","age":30}';
$obj = json_decode($json);
echo $obj->name;$obj->name returns the string "John".15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions