Explode a string using multiple delimiters in php. multipleExplode function helps in spliting a string by multiple delimiters in php.
function multipleexplode($delimiters,$string) {
$ready = str_replace($delimiters, $delimiters[0], $string);
$array = explode($delimiters[0], $ready);
return $array;
}
function multipleexplode($delimiters,$string) {
$ready = str_replace($delimiters, $delimiters[0], $string);
$array = explode($delimiters[0], $ready);
return $array;
}