3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo JSON_PRETTY_PRINT; //json_encode(json_decode('{"pageSize":50,"sortBy":32,"sortDesc":true,"filterPatterns":[],"colorPatterns":[]}'), JSON_PRETTY_PRINT)
Output for 5.4.0 - 7.1.0
128
Output for 5.3.0 - 5.3.29
Notice: Use of undefined constant JSON_PRETTY_PRINT - assumed 'JSON_PRETTY_PRINT' in /in/SRZ4I on line 2 JSON_PRETTY_PRINT