Lines Matching refs:cs
27 foreach ($charset as $cs) {
28 if (count(mb_str_split("", 1, $cs)) !== 0)
29 echo "Empty $cs string should convert to empty array!\n";
30 if (count(mb_str_split("", 2, $cs)) !== 0)
31 echo "Empty $cs string should convert to empty array!\n";
34 foreach ($charset as $cs) {
35 $enc = mb_convert_encoding($string, $cs, "UTF-8");
36 $split = mb_str_split($enc, 1, $cs);
41 $cnt = count(mb_str_split($enc,$i,$cs));
43 echo "$cs WRONG CHUNKS NUMBER: expected/actual: $ceil/$cnt\n";
48 echo "$cs:";