3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $now = new DateTime('2040-01-01'); echo $now->format('U'), PHP_EOL; echo date('U', strtotime('2040-01-01');
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected ';' in /in/oa059 on line 5
Process exited with code 255.