title: Detect iOS version with PHP
body: <p>For detecting Internet Explorer I use his line.</p>
  
  <pre><code>&lt;?php if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) { };?&gt;
  </code></pre>
  
  <p>How do I detect iOS 5.</p>