Khắc phục lỗi The function split() is deprecated in PHP 5.3

Để khắc phục cảnh báo The function split() is deprecated, bạn thay splie thành explode. Cấu trúc của explode cũng giống như spilt. Tuy nhiên, tốc độ thực thi của explode thì nhanh hơn rất nhiều.
Khắc phục lỗi The function split() is deprecated in PHP 5.3
The biggest difference is explode() takes a delimiter to split by, while split() takes a regular expression. This means that explode() is going to execute faster. Also, the PHP documentation says that preg_split() is faster than split(), so really there isn’t much of a reason to use split() at all.