3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php @json_encode(null); if (function_exists('json_last_error_msg')) { var_dump(json_last_error_msg()); }
Output for 5.5.0 - 7.2.0
string(8) "No error"
Output for 4.3.0 - 4.3.1, 5.2.0 - 5.4.45
Output for 4.3.2 - 5.1.6

Process exited with code 255.