3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $constants = get_defined_constants(true); print_r($constants['JSON_OBJECT_AS_ARRAY']);
based on NiuNo
Output for 5.3.0 - 7.2.0
Notice: Undefined index: JSON_OBJECT_AS_ARRAY in /in/Q6MWk on line 3
Output for 5.0.0 - 5.2.17
Notice: Undefined index: JSON_OBJECT_AS_ARRAY in /in/Q6MWk on line 3
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for get_defined_constants() in /in/Q6MWk on line 2