3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $aConstants = get_defined_constants(true); if (isset($aConstants['json']['SON_PRETTY_PRINT']) /*defined(JSON_PRETTY_PRINT)*/) echo 'yes';
Output for 5.0.0 - 7.1.0
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for get_defined_constants() in /in/dEj0T on line 2