Bug #22202 » t3lib_div_explodeRev.patch
t3lib/class.t3lib_div.php (working copy) | ||
---|---|---|
*/
|
||
public static function revExplode($delim, $string, $count=0) {
|
||
$temp = explode($delim,strrev($string),$count);
|
||
foreach ($temp as &$val) {
|
||
$val = strrev($val);
|
||
}
|
||
$temp = array_reverse($temp);
|
||
reset($temp);
|
||
array_walk($temp, 'strrev');
|
||
return $temp;
|
||
}
|
||