@@ 3845-3850 (lines=6) @@ | ||
3842 | if ((is_array($operand1)) || (is_array($operand2))) { |
|
3843 | $result = []; |
|
3844 | if ((is_array($operand1)) && (!is_array($operand2))) { |
|
3845 | foreach ($operand1 as $x => $operandData) { |
|
3846 | $this->debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operandData), ' ', $operation, ' ', $this->showValue($operand2)); |
|
3847 | $this->executeBinaryComparisonOperation($cellID, $operandData, $operand2, $operation, $stack); |
|
3848 | $r = $stack->pop(); |
|
3849 | $result[$x] = $r['value']; |
|
3850 | } |
|
3851 | } elseif ((!is_array($operand1)) && (is_array($operand2))) { |
|
3852 | foreach ($operand2 as $x => $operandData) { |
|
3853 | $this->debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operand1), ' ', $operation, ' ', $this->showValue($operandData)); |
|
@@ 3852-3857 (lines=6) @@ | ||
3849 | $result[$x] = $r['value']; |
|
3850 | } |
|
3851 | } elseif ((!is_array($operand1)) && (is_array($operand2))) { |
|
3852 | foreach ($operand2 as $x => $operandData) { |
|
3853 | $this->debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operand1), ' ', $operation, ' ', $this->showValue($operandData)); |
|
3854 | $this->executeBinaryComparisonOperation($cellID, $operand1, $operandData, $operation, $stack); |
|
3855 | $r = $stack->pop(); |
|
3856 | $result[$x] = $r['value']; |
|
3857 | } |
|
3858 | } else { |
|
3859 | if (!$recursingArrays) { |
|
3860 | self::checkMatrixOperands($operand1, $operand2, 2); |