@@ -48,7 +48,7 @@ function mb_check_encoding(array|string|null $value = null, ?string $encoding =
48
48
function mb_detect_encoding (?string $ string , array |string |null $ encodings = null , ?bool $ strict = false ): string |false { return p \Mbstring::mb_detect_encoding ((string ) $ string , $ encodings , (bool ) $ strict ); }
49
49
}
50
50
if (!function_exists ('mb_detect_order ' )) {
51
- function mb_detect_order (array |string |null $ encoding = null ): array |bool { return p \Mbstring::mb_detect_order (( string ) $ encoding ); }
51
+ function mb_detect_order (array |string |null $ encoding = null ): array |bool { return p \Mbstring::mb_detect_order ($ encoding ); }
52
52
}
53
53
if (!function_exists ('mb_parse_str ' )) {
54
54
function mb_parse_str (?string $ string , &$ result = []): bool { parse_str ((string ) $ string , $ result ); return (bool ) $ result ; }
@@ -78,7 +78,7 @@ function mb_stripos(?string $haystack, ?string $needle, ?int $offset = 0, ?strin
78
78
function mb_stristr (?string $ haystack , ?string $ needle , ?bool $ before_needle = false , ?string $ encoding = null ): string |false { return p \Mbstring::mb_stristr ((string ) $ haystack , (string ) $ needle , (bool ) $ before_needle , $ encoding ); }
79
79
}
80
80
if (!function_exists ('mb_strrchr ' )) {
81
- function mb_strrchr (?string $ haystack , ?string $ needle , ?bool $ before_needle = false , ?string $ encoding = null ): string |false { return p \Mbstring::mb_strrchr ((string ) $ haystack , (string ) $ needle , $ before_needle , (bool ) $ encoding ); }
81
+ function mb_strrchr (?string $ haystack , ?string $ needle , ?bool $ before_needle = false , ?string $ encoding = null ): string |false { return p \Mbstring::mb_strrchr ((string ) $ haystack , (string ) $ needle , (bool ) $ before_needle , $ encoding ); }
82
82
}
83
83
if (!function_exists ('mb_strrichr ' )) {
84
84
function mb_strrichr (?string $ haystack , ?string $ needle , ?bool $ before_needle = false , ?string $ encoding = null ): string |false { return p \Mbstring::mb_strrichr ((string ) $ haystack , (string ) $ needle , (bool ) $ before_needle , $ encoding ); }
0 commit comments