@@ 3868-3874 (lines=7) @@ | ||
3865 | // execute the necessary operation |
|
3866 | switch ($operation) { |
|
3867 | // Greater than |
|
3868 | case '>': |
|
3869 | if ($useLowercaseFirstComparison) { |
|
3870 | $result = $this->strcmpLowercaseFirst($operand1, $operand2) > 0; |
|
3871 | } else { |
|
3872 | $result = ($operand1 > $operand2); |
|
3873 | } |
|
3874 | break; |
|
3875 | // Less than |
|
3876 | case '<': |
|
3877 | if ($useLowercaseFirstComparison) { |
|
@@ 3876-3882 (lines=7) @@ | ||
3873 | } |
|
3874 | break; |
|
3875 | // Less than |
|
3876 | case '<': |
|
3877 | if ($useLowercaseFirstComparison) { |
|
3878 | $result = $this->strcmpLowercaseFirst($operand1, $operand2) < 0; |
|
3879 | } else { |
|
3880 | $result = ($operand1 < $operand2); |
|
3881 | } |
|
3882 | break; |
|
3883 | // Equality |
|
3884 | case '=': |
|
3885 | if (is_numeric($operand1) && is_numeric($operand2)) { |