3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $someJson = '{"hello":{"how":"alal","hey":"who"}}'; var_dump(json_decode($someJson));
based on 82EZH
Output for 7.0.0 - 7.2.0
object(stdClass)#2 (1) { ["hello"]=> object(stdClass)#1 (2) { ["how"]=> string(4) "alal" ["hey"]=> string(3) "who" } }
Output for 5.3.17 - 5.6.28
object(stdClass)#1 (1) { ["hello"]=> object(stdClass)#2 (2) { ["how"]=> string(4) "alal" ["hey"]=> string(3) "who" } }