3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode('{"title":"DocumentReferencePathNibble","description":"Part of DocumentReference, instructing how to traverse to the referenced document.","isCore":true,"isResource":false,"updatedAt":"2014-04-17T10:06:46.153Z","updatedBy":"Kingsquare","_id":"534fa7b64c591c675b767c13","attributes":[{"_id":"534f74b9d3d946b249000001","title":"field","description":"The name of the referred field to traverse.","defaultValue":null,"items":"","ref":"","allowableValues":{"valueType":"","min":null,"max":null,"values":null,"match":""},"renderHint":"","type":"string","isRequired":true,"isCore":true},{"_id":"534f751307ba1bb52f000002","title":"objectId","description":"When the referred field contains an array, the ID number of the child-document within the referred field to traverse to.","defaultValue":null,"items":"","ref":"","allowableValues":{"valueType":"","min":null,"max":null,"values":null,"match":""},"renderHint":"","type":"ObjectId","isRequired":false,"isCore":true}]}', true));
Output for 5.2.0 - 7.1.0
Array ( [title] => DocumentReferencePathNibble [description] => Part of DocumentReference, instructing how to traverse to the referenced document. [isCore] => 1 [isResource] => [updatedAt] => 2014-04-17T10:06:46.153Z [updatedBy] => Kingsquare [_id] => 534fa7b64c591c675b767c13 [attributes] => Array ( [0] => Array ( [_id] => 534f74b9d3d946b249000001 [title] => field [description] => The name of the referred field to traverse. [defaultValue] => [items] => [ref] => [allowableValues] => Array ( [valueType] => [min] => [max] => [values] => [match] => ) [renderHint] => [type] => string [isRequired] => 1 [isCore] => 1 ) [1] => Array ( [_id] => 534f751307ba1bb52f000002 [title] => objectId [description] => When the referred field contains an array, the ID number of the child-document within the referred field to traverse to. [defaultValue] => [items] => [ref] => [allowableValues] => Array ( [valueType] => [min] => [max] => [values] => [match] => ) [renderHint] => [type] => ObjectId [isRequired] => [isCore] => 1 ) ) )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/n0EBk on line 1
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/n0EBk on line 1
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/n0EBk on line 1
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/n0EBk on line 1