3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode('{"DBDESC":{"y":"40","x":"570"},"LOGIN_URL":"%1","LOG_SESSION":"2"}'));
based on rRoRR
Output for 7.0.0 - 7.2.0
object(stdClass)#2 (3) { ["DBDESC"]=> object(stdClass)#1 (2) { ["y"]=> string(2) "40" ["x"]=> string(3) "570" } ["LOGIN_URL"]=> string(2) "%1" ["LOG_SESSION"]=> string(1) "2" }
Output for 5.3.19 - 5.6.28
object(stdClass)#1 (3) { ["DBDESC"]=> object(stdClass)#2 (2) { ["y"]=> string(2) "40" ["x"]=> string(3) "570" } ["LOGIN_URL"]=> string(2) "%1" ["LOG_SESSION"]=> string(1) "2" }