split is deprecate

replace split function with preg_split