Use explode instead of split to be compatible with PHP 5.3 and higher

Use explode instead of split to be compatible with PHP 5.3 and higher