3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = json_decode(null); var_dump($a); var_dump(json_last_error());
based on a7fhn
Output for 7.0.0 - 7.3.0rc4
NULL int(4)
Output for 5.3.20 - 5.6.28
NULL int(0)