Home
last modified time | relevance | path

Searched refs:mb_str_split (Results 1 – 8 of 8) sorted by relevance

/PHP-8.0/ext/mbstring/tests/
H A Dmb_str_split_error_conditions.phpt2 mb_str_split() error conditions
12 mb_str_split($string, 0);
17 mb_str_split($string, -5);
24 mb_str_split($string, 1, "BAD_ENCODING");
31 mb_str_split(): Argument #2 ($length) must be greater than 0
32 mb_str_split(): Argument #2 ($length) must be greater than 0
33 mb_str_split(): Argument #3 ($encoding) must be a valid encoding, "BAD_ENCODING" given
H A Dmb_str_split_utf8_utf16.phpt2 mb_str_split() tests UTF-8 illegal chars & UTF-16 surrogate pairs
37 foreach(mb_str_split($utf8, 2) as $chunk){
43 foreach(mb_str_split($utf8_bad, 2) as $chunk){
49 foreach(mb_str_split($utf16be, 1, "UTF-16BE") as $chunk){
55 foreach(mb_str_split($utf16le, 1, "UTF-16LE") as $chunk){
61 foreach(mb_str_split($utf16be_bad, 1, "UTF-16BE") as $chunk){
67 foreach(mb_str_split($utf16le_bad, 1, "UTF-16LE") as $chunk){
72 var_dump(mb_str_split("", 1, "ASCII"));
73 var_dump(mb_str_split("", 1, "UTF-8"));
74 var_dump(mb_str_split("", 1, "UTF-16LE"));
H A Dmb_str_split_jp.phpt2 mb_str_split() tests for the japanese language
30 $split = mb_str_split($enc, 1, $cs);
35 $cnt = count(mb_str_split($enc,$i,$cs));
53 $array = mb_str_split($enc, $len, "ISO-2022-JP");
H A Dmb_str_split_ru.phpt2 mb_str_split() tests for the russian language
29 $split = mb_str_split($enc, 1, $cs);
35 $cnt = count(mb_str_split($enc,$i,$cs));
53 $array = mb_str_split($enc, $len, "EUC-JP");
H A Dmb_strcut.phpt10 $chars = mb_str_split($string, 1, $encoding);
/PHP-8.0/ext/mbstring/
H A Dmbstring_arginfo.h315 ZEND_FUNCTION(mb_str_split);
409 ZEND_FE(mb_str_split, arginfo_mb_str_split)
H A Dmbstring.stub.php24 function mb_str_split(string $string, int $length = 1, ?string $encoding = null): array {} function
H A Dmbstring.c1691 PHP_FUNCTION(mb_str_split) in PHP_FUNCTION() argument

Completed in 23 milliseconds