Link to home
Start Free TrialLog in
Avatar of TURBOSHAN
TURBOSHAN

asked on

Split is deprecated in PHP 5.3 - What can I use instead

Hi,

Still learning my way around PHP.  I'm using the PEAR XML-RPC to talk to a web service.  Just wrote my first client and when I test it, it runs fine, but throws the Split() function deprecated error.   I did a little research and I see that Split is disabled in PHP 6.  

So...If I wanted to change the RPC.php code to avoid using Split, what would be a good way to go?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Beverley Portlock
Beverley Portlock
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You know about the PHP online manual, right?  See the first lightbulb tip on this page:
http://us3.php.net/manual/en/function.split.php

It's all there in black and white, along with many useful developer examples.  A really great learning resource!  All the functions are documented online - just a click away.

best regards, ~Ray