 |
? |
Author |
Message |
pauldburton
Joined: 10 Jul 2012
Posts: 1
|
Posted: Tue Jul 10, 2012 8:42 am |

|
I upgraded my server to PHP 5.3 and now rss2html is reporting that the split function is deprecated. Is there a fix for this?
Errors are
Deprecated: Function split() is deprecated in rss2html.php on line 946
Deprecated: Function split() is deprecated in rss2html.php on line 947
I am using version
rss2html.php,v 3.15 2010/03/16 22:31:38
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2553
|
Posted: Tue Jul 10, 2012 8:49 am |

|
Based on PHP 5.3.0's documentation, found here: http://us2.php.net/split , the split function is now deprecated and should not be relied upon. If you have a look at the documentation I linked, it provides recommendations on functions other than split to use. For example, if you have a delimiter, you might be able to use explode (which is similar but not always compatible with what you're trying to do) or if you have a regular expression, you might be able to use preg_split.
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
|
|
|