@@ 3895-3901 (lines=7) @@ | ||
3892 | // execute the necessary operation |
|
3893 | switch ($operation) { |
|
3894 | // Greater than |
|
3895 | case '>': |
|
3896 | if ($useLowercaseFirstComparison) { |
|
3897 | $result = $this->strcmpLowercaseFirst($operand1, $operand2) > 0; |
|
3898 | } else { |
|
3899 | $result = ($operand1 > $operand2); |
|
3900 | } |
|
3901 | break; |
|
3902 | // Less than |
|
3903 | case '<': |
|
3904 | if ($useLowercaseFirstComparison) { |
|
@@ 3903-3909 (lines=7) @@ | ||
3900 | } |
|
3901 | break; |
|
3902 | // Less than |
|
3903 | case '<': |
|
3904 | if ($useLowercaseFirstComparison) { |
|
3905 | $result = $this->strcmpLowercaseFirst($operand1, $operand2) < 0; |
|
3906 | } else { |
|
3907 | $result = ($operand1 < $operand2); |
|
3908 | } |
|
3909 | break; |
|
3910 | // Equality |
|
3911 | case '=': |
|
3912 | if (is_numeric($operand1) && is_numeric($operand2)) { |