<?php
$dateString = 'Thu Oct 03 2013 07:03:41 GMT+0200(Central Europe Standard Time)';
var_dump(\DateTime::createFromFormat('D M d Y H:i:s O', explode('(', $dateString)[0]));
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ivH4r on line 3
Parse error: syntax error, unexpected '[' in /in/ivH4r on line 3
Process exited with code 255.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ivH4r on line 3
Parse error: parse error, unexpected '[' in /in/ivH4r on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/ivH4r on line 3
Parse error: parse error in /in/ivH4r on line 3
Process exited with code 255.