<?php
$fileLastModified = DateTime::createFromFormat('D M d Y H:i:s eO+', 'Wed Feb 26 2014 13:42:22 GMT+0100 (W. Europe Standard Time))');
$fileLastModified->setTimeZone(new DateTimeZone('UTC'));
echo $fileLastModified->format('Y-m-d H:i:s');
Fatal error: Uncaught Error: Call to a member function setTimeZone() on bool in /in/FaUue:3
Stack trace:
#0 {main}
thrown in /in/FaUue on line 3
Process exited with code 255.
Fatal error: Uncaught Error: Call to a member function setTimeZone() on boolean in /in/FaUue:3
Stack trace:
#0 {main}
thrown in /in/FaUue on line 3
Process exited with code 255.
Output for 5.6.7 - 5.6.28
Fatal error: Call to a member function setTimeZone() on boolean in /in/FaUue on line 3
Process exited with code 255.