3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(time()); define('FOO', time()); class BAR{ public static $BAZ = FOO; } sleep(5); print_r(BAR::$BAZ);
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1357547512
Process exited with code 137.