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