sepoto Posted April 22, 2011 Share Posted April 22, 2011 I just read on php.net that split is being deprecated. How can this be? Does anyone know what is going to take the place of the split function? Link to comment Share on other sites More sharing options...
birbal Posted April 22, 2011 Share Posted April 22, 2011 there is a tip also on that page. You can use str_split or preg_split. Link to comment Share on other sites More sharing options...
Ingolme Posted April 22, 2011 Share Posted April 22, 2011 All the POSIX regular expression functions are being deprecated in favor of Perl compatible regular expressions. The equivalent to split() is preg_split() Link to comment Share on other sites More sharing options...
jeffman Posted April 22, 2011 Share Posted April 22, 2011 If you do not actually need a regex, use explode(). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.