3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fileLastModified = DateTime::createFromFormat('D M d Y H:i:s eO+', 'Wed Feb 26 2014 13:42:22 GMT+0100 (CET)');. $fileLastModified->setTimeZone(new DateTimeZone('UTC')); echo $fileLastModified->format('Y-m-d H:i:s');
Output for 5.3.0 - 5.5.9
Parse error: syntax error, unexpected '.' in /in/FHabk on line 2
Process exited with code 255.