@@ 3434-3439 (lines=6) @@ | ||
3431 | if ((is_array($operand1)) || (is_array($operand2))) { |
|
3432 | $result = array(); |
|
3433 | if ((is_array($operand1)) && (!is_array($operand2))) { |
|
3434 | foreach($operand1 as $x => $operandData) { |
|
3435 | $this->_writeDebug('Evaluating Comparison '.$this->_showValue($operandData).' '.$operation.' '.$this->_showValue($operand2)); |
|
3436 | $this->_executeBinaryComparisonOperation($cellID,$operandData,$operand2,$operation,$stack); |
|
3437 | $r = $stack->pop(); |
|
3438 | $result[$x] = $r['value']; |
|
3439 | } |
|
3440 | } elseif ((!is_array($operand1)) && (is_array($operand2))) { |
|
3441 | foreach($operand2 as $x => $operandData) { |
|
3442 | $this->_writeDebug('Evaluating Comparison '.$this->_showValue($operand1).' '.$operation.' '.$this->_showValue($operandData)); |
|
@@ 3441-3446 (lines=6) @@ | ||
3438 | $result[$x] = $r['value']; |
|
3439 | } |
|
3440 | } elseif ((!is_array($operand1)) && (is_array($operand2))) { |
|
3441 | foreach($operand2 as $x => $operandData) { |
|
3442 | $this->_writeDebug('Evaluating Comparison '.$this->_showValue($operand1).' '.$operation.' '.$this->_showValue($operandData)); |
|
3443 | $this->_executeBinaryComparisonOperation($cellID,$operand1,$operandData,$operation,$stack); |
|
3444 | $r = $stack->pop(); |
|
3445 | $result[$x] = $r['value']; |
|
3446 | } |
|
3447 | } else { |
|
3448 | if (!$recursingArrays) { self::_checkMatrixOperands($operand1,$operand2,2); } |
|
3449 | foreach($operand1 as $x => $operandData) { |