raindance Posted July 3, 2012 Share Posted July 3, 2012 Hi I just upgraded from PHP 5.2 to 5.3.13 on my HostGator server and now I'm getting this error on my site's front end: Deprecated: Function split() is deprecated This is the code on the lines it's throwing the error for: $csslist=split(',',$csssplit); $javalist=split(",",$javasplit); Is there a straightforward fix for it? I'm very new to PHP. Thanks in advance for any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/265132-deprecated-code-split-fix/ Share on other sites More sharing options...
Pikachu2000 Posted July 3, 2012 Share Posted July 3, 2012 In your case, since that doesn't really require a regex pattern, explode will be fine. Quote Link to comment https://forums.phpfreaks.com/topic/265132-deprecated-code-split-fix/#findComment-1358713 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.