Bug #22724 » 14488_reverted7592.diff
t3lib/class.t3lib_div.php (working copy) | ||
---|---|---|
$reg = array();
|
||
preg_match_all('/'.$regex.'/',$string,$reg);
|
||
reset($reg[2]);
|
||
$number=0;
|
||
$Msign='+';
|
||
$err='';
|
||
$buffer=doubleval(current($reg[2]));
|
||
next($reg[2]); // Advance pointer
|
||
foreach ($reg[2] as $k => $v) {
|
||
while(list($k,$v)=each($reg[2])) {
|
||
$v=doubleval($v);
|
||
$sign = $reg[1][$k];
|
||
if ($sign=='+' || $sign=='-') {
|
- « Previous
- 1
- 2
- Next »