Home
last modified time | relevance | path

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

/PHP-8.1/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
36 foreach(mb_str_split($utf8, 2) as $chunk){
42 foreach(mb_str_split($utf8_bad, 2) as $chunk){
48 foreach(mb_str_split($utf16be, 1, "UTF-16BE") as $chunk){
54 foreach(mb_str_split($utf16le, 1, "UTF-16LE") as $chunk){
60 foreach(mb_str_split($utf16be_bad, 1, "UTF-16BE") as $chunk){
66 foreach(mb_str_split($utf16le_bad, 1, "UTF-16LE") as $chunk){
71 var_dump(mb_str_split("", 1, "ASCII"));
72 var_dump(mb_str_split("", 1, "UTF-8"));
73 var_dump(mb_str_split("", 1, "UTF-16LE"));
H A Dmb_str_split_other.phpt2 mb_str_split() tests for more text encodings
7 $array = mb_str_split("\x00\x01\x02\x03\x04\x05\x06\x07", 2, "UCS-2BE");
H A Dmb_str_split_jp.phpt2 mb_str_split() tests for the japanese language
29 $split = mb_str_split($enc, 1, $cs);
34 $cnt = count(mb_str_split($enc,$i,$cs));
52 $array = mb_str_split($enc, $len, "ISO-2022-JP");
68 $array = mb_str_split("\x80\xA1abc\x80\xA1", 2, $encoding);
72 $array = mb_str_split("abc\xFD\xFE\xFFab\xFD\xFE\xFF", 2, $encoding);
H A Dmb_str_split_ru.phpt2 mb_str_split() tests for the russian language
28 $split = mb_str_split($enc, 1, $cs);
34 $cnt = count(mb_str_split($enc,$i,$cs));
52 $array = mb_str_split($enc, $len, "EUC-JP");
H A Dmb_strcut.phpt10 $chars = mb_str_split($string, 1, $encoding);
/PHP-8.1/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.php38 function mb_str_split(string $string, int $length = 1, ?string $encoding = null): array {} function
H A Dmbstring.c1682 PHP_FUNCTION(mb_str_split) in PHP_FUNCTION() argument

Completed in 23 milliseconds