Project

General

Profile

Bug #22202 » 13681_4.diff

Administrator Admin, 2010-03-26 12:57

View differences:

t3lib/class.t3lib_div.php (working copy)
* @param integer Number of array entries
* @return array Exploded values
*/
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);
return $temp;
public static function revExplode($delimiter, $string, $count=0) {
$explodedValues = explode($delimiter, strrev($string), $count);
$explodedValues = array_map('strrev', $explodedValues);
return array_reverse($explodedValues);
}
/**
(2-2/3)