File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,12 @@ foreach($encodings as $encoding) {
79
79
echo $ encoding .': ' .$ reconverted_str .PHP_EOL ;
80
80
}
81
81
82
+ echo PHP_EOL ;
83
+
84
+ foreach ($ encodings as $ encoding ) {
85
+ var_dump (mb_strcut ($ input , 0 , $ bytes_length , $ encoding ));
86
+ }
87
+
82
88
?>
83
89
--EXPECTF--
84
90
BASE64: 宛如繁
@@ -180,3 +186,23 @@ ISO-2022-JP-MOBILE#KDDI: ??
180
186
CP50220: ??
181
187
CP50221: ??
182
188
CP50222: ??
189
+
190
+ string(0) ""
191
+ string(2) "??"
192
+ string(2) "??"
193
+ string(2) "??"
194
+ string(2) "??"
195
+ string(2) "??"
196
+ string(2) "??"
197
+ string(2) "??"
198
+ string(2) "??"
199
+ string(2) "??"
200
+ string(2) "??"
201
+ string(2) "??"
202
+ string(2) "??"
203
+ string(2) "??"
204
+ string(2) "??"
205
+ string(2) "??"
206
+ string(2) "??"
207
+ string(2) "??"
208
+ string(2) "??"
You can’t perform that action at this time.
0 commit comments