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