See Release Notes
Long Term Support Release
(no description)
File Size: | 181 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BinaryComparison:: (10 methods):
strcmpLowercaseFirst()
strcmpAllowNull()
compare()
evaluateComparison()
equal()
greaterThanOrEqual()
lessThanOrEqual()
greaterThan()
lessThan()
notEqual()
Class: BinaryComparison - X-Ref
strcmpLowercaseFirst($str1, $str2) X-Ref |
Compare two strings in the same way as strcmp() except that lowercase come before uppercase letters. param: null|string $str1 First string value for the comparison param: null|string $str2 Second string value for the comparison |
strcmpAllowNull($str1, $str2) X-Ref |
PHP8.1 deprecates passing null to strcmp. param: null|string $str1 First string value for the comparison param: null|string $str2 Second string value for the comparison |
compare($operand1, $operand2, string $operator) X-Ref |
param: mixed $operand1 param: mixed $operand2 |
evaluateComparison($operand1, $operand2, string $operator, bool $useLowercaseFirstComparison) X-Ref |
No description |
equal($operand1, $operand2) X-Ref |
param: mixed $operand1 param: mixed $operand2 |
greaterThanOrEqual($operand1, $operand2, bool $useLowercaseFirstComparison) X-Ref |
param: mixed $operand1 param: mixed $operand2 |
lessThanOrEqual($operand1, $operand2, bool $useLowercaseFirstComparison) X-Ref |
param: mixed $operand1 param: mixed $operand2 |
greaterThan($operand1, $operand2, bool $useLowercaseFirstComparison) X-Ref |
param: mixed $operand1 param: mixed $operand2 |
lessThan($operand1, $operand2, bool $useLowercaseFirstComparison) X-Ref |
param: mixed $operand1 param: mixed $operand2 |
notEqual($operand1, $operand2) X-Ref |
param: mixed $operand1 param: mixed $operand2 |