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