3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $someJson = '{"hello":{"how":"alal","hey":"who"}}'; $phpObj = json_decode($someJson); var_dump(someJson);
based on OSjJP
Output for 7.2.0
Warning: Use of undefined constant someJson - assumed 'someJson' (this will throw an Error in a future version of PHP) in /in/FcXSe on line 6 string(8) "someJson"
Output for 5.3.17 - 7.1.10
Notice: Use of undefined constant someJson - assumed 'someJson' in /in/FcXSe on line 6 string(8) "someJson"