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