Lines Matching refs:mb_lcfirst
2 mb_ucfirst(), mb_lcfirst functions tests
27 if (mb_lcfirst(chr($i)) !== chr($i + (97 - 65))) {
28 echo "mb_lcfirst compare failed: " . chr($i) . "\n";
32 if (mb_lcfirst(chr($i)) !== chr($i)) {
33 echo "mb_lcfirst compare failed: " . chr($i) . "\n";
38 echo "Done mb_lcfirst\n";
43 var_dump(mb_lcfirst(""));
53 echo "== mb_lcfirst ==\n";
54 var_dump(mb_lcfirst("ABS"));
55 var_dump(mb_lcfirst("Xin chào"));
56 var_dump(mb_lcfirst("Đẹp quá!"));
59 var_dump(bin2hex(mb_lcfirst(mb_convert_encoding("EBI", "SJIS", "UTF-8"), "SJIS")));
61 var_dump(bin2hex(mb_lcfirst(hex2bin("8441"), "SJIS"))); /* Б */
63 var_dump(bin2hex(mb_lcfirst(hex2bin("839f"), "SJIS"))); /* Α */
64 var_dump(bin2hex(mb_lcfirst(hex2bin("82a0"), "SJIS"))); /* あ */
66 var_dump(bin2hex(mb_lcfirst(hex2bin("839f8441"), "SJIS")));
69 var_dump(bin2hex(mb_lcfirst(hex2bin("a6b8"), "EUC-JP"))); /* ω */
73 var_dump(mb_lcfirst("Э" . str_repeat("A", 65536)) === "э" . str_repeat("A", 65536));
81 Done mb_lcfirst
88 == mb_lcfirst ==