3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $t = gmmktime(11, 59, 59, 9, 2, 2013); echo gmdate('Y-m-d H:i:s', $t), "\n"; echo gmdate('Y-m-d H:i:s', $t - 12 * 3600), "\n";
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
2013-09-02 11:59:59 2013-09-01 23:59:59
Output for hhvm-3.10.0

Process exited with code 153.