split to preg_split

It was deprecated.