Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9715 | 23 | public static function strcasecmp( |
|
9716 | string $str1, |
||
9717 | string $str2, |
||
9718 | string $encoding = 'UTF-8' |
||
9719 | ): int { |
||
9720 | 23 | return self::strcmp( |
|
9721 | 23 | self::strtocasefold( |
|
9722 | $str1, |
||
9723 | 23 | true, |
|
9724 | 23 | false, |
|
9725 | $encoding, |
||
9726 | 23 | null, |
|
9727 | 23 | false |
|
9728 | ), |
||
9729 | 23 | self::strtocasefold( |
|
9730 | $str2, |
||
9731 | 23 | true, |
|
9732 | 23 | false, |
|
9733 | $encoding, |
||
9734 | 23 | null, |
|
9735 | 23 | false |
|
9736 | ) |
||
14792 |