romi4rd1 / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

Recommend removal of depricated function split #108

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
depricated approach
Roster.php (3 matches)
121: list($jid, $resource) = split("/", $presence); 
140: $split = split("/", $jid); 
XMLStream.php
266: list($l, $r) = split("}", $ns_tag); 

nondepricated approacy

Roster.php (3 matches)
121: list($jid, $resource) = explode("/", $presence); 
140: $split = explode("/", $jid); 
XMLStream.php
266: list($l, $r) = explode("}", $ns_tag); 

Original issue reported on code.google.com by hunter...@gmail.com on 20 Mar 2011 at 5:05