@@ 5437-5439 (lines=3) @@ | ||
5434 | if ($token['data']['function'] != '') { |
|
5435 | // normal function |
|
5436 | $ops = []; // array of operators |
|
5437 | for ($i = 0; $i < $token['data']['args']; ++$i) { |
|
5438 | $ops[] = array_pop($formulaStrings); |
|
5439 | } |
|
5440 | $ops = array_reverse($ops); |
|
5441 | $formulaStrings[] = "$space1$space0{$token['data']['function']}(" . implode(',', $ops) . ')'; |
|
5442 | unset($space0, $space1); |
|
@@ 5446-5448 (lines=3) @@ | ||
5443 | } else { |
|
5444 | // add-in function |
|
5445 | $ops = []; // array of operators |
|
5446 | for ($i = 0; $i < $token['data']['args'] - 1; ++$i) { |
|
5447 | $ops[] = array_pop($formulaStrings); |
|
5448 | } |
|
5449 | $ops = array_reverse($ops); |
|
5450 | $function = array_pop($formulaStrings); |
|
5451 | $formulaStrings[] = "$space1$space0$function(" . implode(',', $ops) . ')'; |