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 5.1.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
2013-09-02 11:59:59 Warning: gmdate() expects at most 2 parameters, 3 given in /in/OA7b9 on line 6
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.0.5
2013-09-02 11:59:59 Warning: Wrong parameter count for gmdate() in /in/OA7b9 on line 6