3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(gmdate('Y-m-d', 1399669200000 /1000 )); var_dump(gmdate('Y-m-d', 1399755600000 /1000 )); $dt = new DateTime('1399755600'); var_dump($dt->format('Y-m-d');); var_dump(strtotime('2014-05-10 23:00:00'));
Output for 5.3.0 - 5.5.12
Parse error: syntax error, unexpected ';' in /in/877Ri on line 6
Process exited with code 255.