title: PHP explode \r and \n characters
body: <p>I have an excel template which is used to fill in data. I export this to CSV. One of the fields contains a new line character. When done on a mac it returns a <code>\r</code> instead or <code>\n</code></p>
  
  <p>When I try to explode that text as below:</p>
  
  <pre><code>$skillsets = explode("\r", $j['skillsets']); // works with CSV exported from MAC
  $skillsets = explode("\n", $j['skillsets']); // works with CSV exported from WIN
  </code></pre>
  
  <p>Is there any way I can check for either of them and make sure my explode works for both <code>\r</code> and <code>\n</code>?</p>