Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 14 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9096 | 23 | public static function strcasecmp( |
|
9097 | string $str1, |
||
9098 | string $str2, |
||
9099 | string $encoding = 'UTF-8' |
||
9100 | ): int { |
||
9101 | 23 | return self::strcmp( |
|
9102 | 23 | self::strtocasefold( |
|
9103 | 23 | $str1, |
|
9104 | 23 | true, |
|
9105 | 23 | false, |
|
9106 | $encoding, |
||
9107 | 23 | null, |
|
9108 | 23 | false |
|
9109 | ), |
||
9110 | 23 | self::strtocasefold( |
|
9111 | 23 | $str2, |
|
9112 | 23 | true, |
|
9113 | 23 | false, |
|
9114 | $encoding, |
||
9115 | 23 | null, |
|
9116 | 23 | false |
|
9117 | ) |
||
13706 |