title: Convert string to timestamp in PHP using strtotime
body: <p>Trying to change string like</p>
  
  <pre><code>Tue Jun 28 15:24:51 +0000 2011
  </code></pre>
  
  <p>to php unix time.</p>
  
  <p>Found this <a href="https://stackoverflow.com/questions/2611415/parsing-twitter-api-datestamp">Parsing Twitter API Datestamp</a> but <strong>strtotime</strong> returns -1 for me.</p>
  
  <pre><code>echo strtotime('Fri Apr 09 12:53:54 +0000 2010');
  </code></pre>
  
  <p>Any ideas? Probably hosting problems?</p>
  
  <p>Thanks</p>
  
  <p>This dinosaurs use PHP 4.4.9, so code doesn't work.
  I added </p>
  
  <pre><code>AddType x-mapp-php5 .php
  </code></pre>
  
  <p>and it starts to work:)</p>