$stringText = "[TEST-1] test task 1 Created: 06/Apr/11 Updated: 06/Apr/11"; $splitArray = split(" ",$stringText);
Deprecated: Function split() is deprecated in C:\wamp\www\RSS.PHP on line 27
为什么这个错误发生?
http://php.net/manual/en/function.split.php
原文链接:https://www.f2er.com/php/140038.html从手册
Warning This function has been
DEPRECATED as of PHP 5.3.0. Relying on
this feature is highly discouragedNote:
As of PHP 5.3.0,the regex extension
is deprecated in favor of the PCRE
extension. Calling this function will
issue an E_DEPRECATED notice. See the
list of differences for help on
converting to PCRE.
我想你应该使用替代的preg_split().或者如果您不使用正则表达式,只需使用爆炸