@@ 3951-3956 (lines=6) @@ | ||
3948 | if ((is_array($operand1)) || (is_array($operand2))) { |
|
3949 | $result = array(); |
|
3950 | if ((is_array($operand1)) && (!is_array($operand2))) { |
|
3951 | foreach ($operand1 as $x => $operandData) { |
|
3952 | $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operandData), ' ', $operation, ' ', $this->showValue($operand2)); |
|
3953 | $this->executeBinaryComparisonOperation($cellID, $operandData, $operand2, $operation, $stack); |
|
3954 | $r = $stack->pop(); |
|
3955 | $result[$x] = $r['value']; |
|
3956 | } |
|
3957 | } elseif ((!is_array($operand1)) && (is_array($operand2))) { |
|
3958 | foreach ($operand2 as $x => $operandData) { |
|
3959 | $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operand1), ' ', $operation, ' ', $this->showValue($operandData)); |
|
@@ 3958-3963 (lines=6) @@ | ||
3955 | $result[$x] = $r['value']; |
|
3956 | } |
|
3957 | } elseif ((!is_array($operand1)) && (is_array($operand2))) { |
|
3958 | foreach ($operand2 as $x => $operandData) { |
|
3959 | $this->_debugLog->writeDebugLog('Evaluating Comparison ', $this->showValue($operand1), ' ', $operation, ' ', $this->showValue($operandData)); |
|
3960 | $this->executeBinaryComparisonOperation($cellID, $operand1, $operandData, $operation, $stack); |
|
3961 | $r = $stack->pop(); |
|
3962 | $result[$x] = $r['value']; |
|
3963 | } |
|
3964 | } else { |
|
3965 | if (!$recursingArrays) { |
|
3966 | self::checkMatrixOperands($operand1, $operand2, 2); |