3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = new \DateTime('@'.1379368800, new \DateTimeZone('Europe/Paris')); echo $time->format('Y-m-d');
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected '.1379368800' (T_DNUMBER) in /in/G2oiO on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_DNUMBER in /in/G2oiO on line 3
Process exited with code 255.