FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 PHP 5.3 split function deprecated View next topic
View previous topic
Post new topicReply to topic
Author Message
pauldburton



Joined: 10 Jul 2012
Posts: 1

PostPosted: Tue Jul 10, 2012 8:42 am Reply with quoteBack to top

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
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2791

PostPosted: Tue Jul 10, 2012 8:49 am Reply with quoteBack to top

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
View user's profile
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme