Remove the PHP 5.3 deprecated split function.

This commit is contained in:
Loic d'Anterroches
2009-09-24 20:40:22 +02:00
parent 157819195b
commit 838645463d
15 changed files with 23 additions and 23 deletions

View File

@@ -187,10 +187,10 @@ class IDF_Diff
*/
public static function getChunk($line)
{
$elts = split(' ', $line);
$elts = explode(' ', $line);
$res = array();
for ($i=1;$i<3;$i++) {
$res[] = split(',', trim(substr($elts[$i], 1)));
$res[] = explode(',', trim(substr($elts[$i], 1)));
}
return $res;
}