3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode('NULL')); var_dump(json_last_error());
based on uqWQp
Output for 5.6.8 - 7.3.0rc4
NULL int(4)
Output for 5.3.20 - 5.5.35
NULL int(0)