#4 deprecated function: split

Unstable_(example)
open
None
5
2013-05-12
2013-05-12
No

Another deprecated function: split, in another file.
They introduced to use preg_split or str_split instead.
In this case, it requires regular expression.

To fix, change line #191 of html2text.inc
$words = split ("[ \t\r\n]+", $text);
into
$words = preg_split ("/[ \t\r\n]+/", $text);

Discussion


Log in to post a comment.