3v4l.org

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