Home
last modified time | relevance | path

Searched refs:mb_strtolower (Results 1 – 14 of 14) sorted by relevance

/PHP-8.4/ext/mbstring/tests/
H A Dmb_strtolower_basic.phpt2 Test mb_strtolower() function : basic functionality
8 * Test basic functionality of mb_strtolower
19 $ascii = mb_strtolower($ascii_upper);
39 var_dump(mb_strtolower("Σ", 'UTF-8'));
40 var_dump(mb_strtolower("aΣ", 'UTF-8'));
41 var_dump(mb_strtolower("aΣb", 'UTF-8'));
42 var_dump(mb_strtolower("aΣ b", 'UTF-8'));
48 var_dump(mb_strtolower("'Σ", 'UTF-8'));
49 var_dump(mb_strtolower("ab'Σ", 'UTF-8'));
50 var_dump(mb_strtolower("Σ'", 'UTF-8'));
[all …]
H A Dmb_strtolower_error2.phpt2 Test mb_strtolower() function : error conditions - pass an unknown encoding
8 * Pass an unknown encoding to mb_strtolower() to test behaviour
11 echo "*** Testing mb_strtolower() : error conditions***\n";
17 var_dump( mb_strtolower($sourcestring, $encoding) );
24 *** Testing mb_strtolower() : error conditions***
25 mb_strtolower(): Argument #2 ($encoding) must be a valid encoding, "unknown-encoding" given
H A Dbug69267.phpt2 Bug #69267: mb_strtolower fails on titlecase characters
11 var_dump(mb_strtolower($str_l));
12 var_dump(mb_strtolower($str_u));
13 var_dump(mb_strtolower($str_t));
23 var_dump(mb_strtolower($str_l));
24 var_dump(mb_strtolower($str_t));
H A Dbug43998.phpt2 Test mb_strtolower() function : Two error messages returned for incorrect encoding for mb_strto[upp…
19 var_dump( mb_strtolower($sourcestring, $input) );
34 mb_strtolower(): Argument #2 ($encoding) must be a valid encoding, "12345" given
38 mb_strtolower(): Argument #2 ($encoding) must be a valid encoding, "1.23456789E-9" given
42 mb_strtolower(): Argument #2 ($encoding) must be a valid encoding, "1" given
46 mb_strtolower(): Argument #2 ($encoding) must be a valid encoding, "" given
50 mb_strtolower(): Argument #2 ($encoding) must be a valid encoding, "" given
H A Dmb_strtolower_variation3.phpt2 Test mb_strtolower() function : usage variations - pass mixed ASCII and non-ASCII strings
8 * Pass a Japanese string and a mixed Japanese and ASCII string to mb_strtolower
12 echo "*** Testing mb_strtolower() : usage variations ***\n";
19 $a = mb_strtolower($string_mixed, 'UTF-8');
28 $b = mb_strtolower($string_all_mb, 'UTF-8');
39 *** Testing mb_strtolower() : usage variations ***
H A Dcasefold.phpt2 mb_strtoupper() / mb_strtolower()
10 print mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" );
11 print mb_strtoupper( mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" ) );
H A Dmb_strtolower_variation4.phpt2 Test mb_strtolower() function : usage variations - pass different characters to check conversion is…
11 echo "*** Testing mb_strtolower() : usage variations ***\n";
22 $a = mb_strtolower($sourcestring, 'utf-8');
34 *** Testing mb_strtolower() : usage variations ***
H A Dbug76319.phpt2 Bug #76319: mb_strtolower with invalid UTF-8 causes segmentation fault
8 var_dump(mb_strtolower("a\xA1", 'UTF-8'));
H A Dbug79371.phpt2 Bug #79371 (mb_strtolower (UTF-32LE): stack-buffer-overflow)
9 var_dump(bin2hex(mb_strtolower($str, "UTF-32LE")));
H A Dmb_strtoupper_variation3.phpt8 * Pass a Japanese string and a mixed Japanese and ASCII string to mb_strtolower
H A Dmb_str_unknown_encoding.phpt114 mb_strtolower('coudenys', 'UTF-0');
162 mb_strtolower(): Argument #2 ($encoding) must be a valid encoding, "UTF-0" given
/PHP-8.4/ext/mbstring/
H A Dmbstring_arginfo.h324 ZEND_FUNCTION(mb_strtolower);
393 ZEND_FE(mb_strtolower, arginfo_mb_strtolower)
H A Dmbstring.stub.php136 function mb_strtolower(string $string, ?string $encoding = null): string {} function
H A Dmbstring.c2952 PHP_FUNCTION(mb_strtolower) in PHP_FUNCTION() argument

Completed in 33 milliseconds