3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo JSON_ERROR_RECURSION, '<br />', JSON_ERROR_INF_OR_NAN, '<br />', JSON_ERROR_UNSUPPORTED_TYPE;
based on BCeFX
Output for 5.5.0 - 7.1.0
6<br />7<br />8
Output for 4.3.0 - 5.4.45
Notice: Use of undefined constant JSON_ERROR_RECURSION - assumed 'JSON_ERROR_RECURSION' in /in/UWoRb on line 3 JSON_ERROR_RECURSION<br /> Notice: Use of undefined constant JSON_ERROR_INF_OR_NAN - assumed 'JSON_ERROR_INF_OR_NAN' in /in/UWoRb on line 3 JSON_ERROR_INF_OR_NAN<br /> Notice: Use of undefined constant JSON_ERROR_UNSUPPORTED_TYPE - assumed 'JSON_ERROR_UNSUPPORTED_TYPE' in /in/UWoRb on line 3 JSON_ERROR_UNSUPPORTED_TYPE