3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = '{"a":1, "b": "basdf"}'; $obj = json_decode($string); var_dump($obj);
Output for 5.5.33
object(stdClass)#1 (2) { ["a"]=> int(1) ["b"]=> string(5) "basdf" }