3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(JSON_PRETTY_PRINT);
Output for 5.4.0 - 7.2.0
int(128)
Output for 4.3.0 - 5.3.29
Notice: Use of undefined constant JSON_PRETTY_PRINT - assumed 'JSON_PRETTY_PRINT' in /in/PJLdJ on line 3 string(17) "JSON_PRETTY_PRINT"