title: Error when parsing string into DateTime
body: <p>I've used <code>DateTime::createFromFormat()</code> to parse string into date before, but today I found a problem and I get null from this call.</p>
  
  <pre><code>echo $date_string;
  $test = DateTime::createFromFormat('M d Y, H:i:s T', trim($date_string));
  echo $test-&gt;format('Y-m-d H:i:s');
  </code></pre>
  
  <h3>Output:</h3>
  
  <pre><code>Oct 16 2013, 15:45:02 CEST
  
  ( ! ) Fatal error: Call to a member function format() on a non-object in (...) on line 51
  </code></pre>
  
  <p>Where line 51 is the last line where I call <code>format()</code>.</p>
  
  <p>So, am I missing something? Thanks in advance!</p>
  
  <hr>
  
  <p>The output of <code>DateTime::getLastErrors()</code> as requested:</p>
  
  <pre><code>(
      [warning_count] =&gt; 0
      [warnings] =&gt; Array
          (
          )
  
      [error_count] =&gt; 4
      [errors] =&gt; Array
          (
              [3] =&gt; Unexpected data found.
              [11] =&gt; Unexpected data found.
              [22] =&gt; Unexpected data found.
              [36] =&gt; The timezone could not be found in the database
          )
  
  )
  </code></pre>
  
  <p>The catch, requested by <a href="https://stackoverflow.com/a/19338725/1488993">@whizzzkid</a>:</p>
  
  <pre><code>DateTime::__construct(): Failed to parse time string (Oct&amp;nbsp;16&amp;nbsp;2013,&amp;nbsp;10:00:00&amp;nbsp;CEST) at position 3 (&amp;): Unexpected character
  </code></pre>