PHP: Error Deprecated:function split () is Deprecated in ... Solutions
PHP5.3 split () is not recommended for use in the following reasons:
After PHP 5.3.0 the regex, want to use the PCRE specifications, POSIX regex is not recommended (unified regex, avoid too many specifications?).
So the following is the not recommended function (POSIX), with the proposed replacement function (PCRE) list, detailed visible: Php:differences from POSIX regex
* Posix→pcre
* Ereg_replace () →preg_replace ()
* Ereg () →preg_match ()
* Eregi_replace () →preg_replace ()
* EREGI () →preg_match ()
* Split () →preg_split ()
* Spliti () →preg_split ()
* Sql_regcase () →no equivalent
PHP Split () Alternative
* Split with Regex, can be replaced by Preg_split ()
* Do not need a regex, as long as you want to quickly split the fixed string, can be replaced by explode (). (Speed will be much faster than the need for a regex)
PHP: Error Deprecated:function split () is Deprecated in ... Solutions