@@ 3809-3814 (lines=6) @@ | ||
3806 | if ((is_array($operand1)) || (is_array($operand2))) { |
|
3807 | $result = []; |
|
3808 | if ((is_array($operand1)) && (!is_array($operand2))) { |
|
3809 | foreach ($operand1 as $x => $operandData) { |
|
3810 | $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operandData), ' ', $operation, ' ', $this->showValue($operand2)); |
|
3811 | $this->executeBinaryComparisonOperation($cellID, $operandData, $operand2, $operation, $stack); |
|
3812 | $r = $stack->pop(); |
|
3813 | $result[$x] = $r['value']; |
|
3814 | } |
|
3815 | } elseif ((!is_array($operand1)) && (is_array($operand2))) { |
|
3816 | foreach ($operand2 as $x => $operandData) { |
|
3817 | $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operand1), ' ', $operation, ' ', $this->showValue($operandData)); |
|
@@ 3816-3821 (lines=6) @@ | ||
3813 | $result[$x] = $r['value']; |
|
3814 | } |
|
3815 | } elseif ((!is_array($operand1)) && (is_array($operand2))) { |
|
3816 | foreach ($operand2 as $x => $operandData) { |
|
3817 | $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operand1), ' ', $operation, ' ', $this->showValue($operandData)); |
|
3818 | $this->executeBinaryComparisonOperation($cellID, $operand1, $operandData, $operation, $stack); |
|
3819 | $r = $stack->pop(); |
|
3820 | $result[$x] = $r['value']; |
|
3821 | } |
|
3822 | } else { |
|
3823 | if (!$recursingArrays) { |
|
3824 | self::checkMatrixOperands($operand1, $operand2, 2); |