3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(JSON_PRETTY_PRINT, JSON_UNESCAPED_SLASHES, JSON_UNESCAPED_UNICODE, JSON_BIGINT_AS_STRING);
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
int(128) int(64) int(256) int(2)
Output for 4.3.0 - 5.3.29
string(17) "JSON_PRETTY_PRINT" string(22) "JSON_UNESCAPED_SLASHES" string(22) "JSON_UNESCAPED_UNICODE" string(21) "JSON_BIGINT_AS_STRING"