Fixed php split error

changed split() to preg_split()