3v4l.org

run code in 200+ PHP versions simultaneously
<?php json_decode(null); var_dump(json_last_error());
based on hZZ78
Output for 7.0.0 - 7.4.1
int(4)
Output for 5.4.0 - 5.6.40
int(0)