Project

General

Profile

Bug #22202 » t3lib_div_explodeRev.patch

Administrator Admin, 2010-02-26 13:14

View differences:

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;
}
(1-1/3)