@@ -51,7 +51,7 @@ function iconv_strpos(?string $haystack, ?string $needle, ?int $offset = 0, ?str
51
51
function iconv_strrpos (?string $ haystack , ?string $ needle , ?string $ encoding = null ): int |false { null === $ encoding && $ encoding = p \Iconv::$ internalEncoding ; return mb_strrpos ((string ) $ haystack , (string ) $ needle , 0 , $ encoding ); }
52
52
}
53
53
if (!function_exists ('iconv_substr ' )) {
54
- function iconv_substr (?string $ string , ?int $ offset , ?int $ length = null , ?string $ encoding = null ): string |false { null === $ encoding && $ encoding = p \Iconv::$ internalEncoding ; return mb_substr ((string ) $ string , (int ) $ offset , ( int ) $ length , $ encoding ); }
54
+ function iconv_substr (?string $ string , ?int $ offset , ?int $ length = null , ?string $ encoding = null ): string |false { null === $ encoding && $ encoding = p \Iconv::$ internalEncoding ; return mb_substr ((string ) $ string , (int ) $ offset , $ length , $ encoding ); }
55
55
}
56
56
if (!function_exists ('iconv_mime_decode ' )) {
57
57
function iconv_mime_decode ($ string , $ mode = 0 , $ encoding = null ) { null === $ encoding && $ encoding = p \Iconv::$ internalEncoding ; return mb_decode_mimeheader ($ string , $ mode , $ encoding ); }
@@ -72,7 +72,7 @@ function iconv_strpos(?string $haystack, ?string $needle, ?int $offset = 0, ?str
72
72
function iconv_strrpos (?string $ haystack , ?string $ needle , ?string $ encoding = null ): int |false { return p \Iconv::iconv_strrpos ((string ) $ haystack , (string ) $ needle , $ encoding ); }
73
73
}
74
74
if (!function_exists ('iconv_substr ' )) {
75
- function iconv_substr (?string $ string , ?int $ offset , ?int $ length = null , ?string $ encoding = null ): string |false { return p \Iconv::iconv_substr ((string ) $ string , (string ) $ offset , ( int ) $ length , $ encoding ); }
75
+ function iconv_substr (?string $ string , ?int $ offset , ?int $ length = null , ?string $ encoding = null ): string |false { return p \Iconv::iconv_substr ((string ) $ string , (string ) $ offset , $ length , $ encoding ); }
76
76
}
77
77
if (!function_exists ('iconv_mime_decode ' )) {
78
78
function iconv_mime_decode (?string $ string , ?int $ mode = 0 , ?string $ encoding = null ): string |false { return p \Iconv::iconv_mime_decode ((string ) $ string , (int ) $ mode , $ encoding ); }
0 commit comments