replaced split() with explode()

split() is deprecated as of 5.3.0, see http://php.net/manual/en/function.split.php