split is deprecate

replace split function with preg_split
Merge pull request #2 from totpero/patch-1

split is deprecate