@@ 4005-4011 (lines=7) @@ | ||
4002 | // execute the necessary operation |
|
4003 | switch ($operation) { |
|
4004 | // Greater than |
|
4005 | case '>': |
|
4006 | if ($useLowercaseFirstComparison) { |
|
4007 | $result = $this->strcmpLowercaseFirst($operand1, $operand2) > 0; |
|
4008 | } else { |
|
4009 | $result = ($operand1 > $operand2); |
|
4010 | } |
|
4011 | break; |
|
4012 | // Less than |
|
4013 | case '<': |
|
4014 | if ($useLowercaseFirstComparison) { |
|
@@ 4013-4019 (lines=7) @@ | ||
4010 | } |
|
4011 | break; |
|
4012 | // Less than |
|
4013 | case '<': |
|
4014 | if ($useLowercaseFirstComparison) { |
|
4015 | $result = $this->strcmpLowercaseFirst($operand1, $operand2) < 0; |
|
4016 | } else { |
|
4017 | $result = ($operand1 < $operand2); |
|
4018 | } |
|
4019 | break; |
|
4020 | // Equality |
|
4021 | case '=': |
|
4022 | if (is_numeric($operand1) && is_numeric($operand2)) { |