title: Function split() is deprecated PHP, explode doesn't work
body: <p>I have downloaded a contact form form the web. On one part (<code>class.phpmailer.php</code>) on line 470 it uses:  </p>
  
  <pre><code>$toArr = split(',', $to);
  </code></pre>
  
  <p>Of course this is depreciated. I have searched the web for answers (and read the php syntax), and it says use <code>explode()</code> or <code>preg_split()</code>.</p>
  
  <p>I have tried both of these, but when I submit the contact form nothing happens. The data stays but the captcha changes. I also put:</p>
  
  <pre><code>$toArr = split('!,!', $to);
  </code></pre>
  
  <p>Again, the form would not submit.</p>
  
  <p>Could somebody please tell me how to fix this ?</p>
  
  <p>EDIT:
  The error was nothing to do with explode/preg_split - it was a missing html tag I believe.</p>