Home
last modified time | relevance | path

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

/PHP-5.5/ext/mbstring/tests/
H A Dmb_strtoupper_error1.phpt2 Test mb_strtoupper() function : error conditions - pass incorrect number of args
6 function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
10 /* Prototype : string mb_strtoupper(string $sourcestring [, string $encoding]
19 echo "*** Testing mb_strtoupper() : error conditions ***\n";
21 //Test mb_strtoupper with one more than the expected number of arguments
26 var_dump( mb_strtoupper($sourcestring, $encoding, $extra_arg) );
28 //Test mb_strtoupper with zero arguments
29 echo "\n-- Testing mb_strtoupper() function with zero arguments --\n";
30 var_dump( mb_strtoupper() );
36 *** Testing mb_strtoupper() : error conditions ***
[all …]
H A Dmb_strtoupper_variation2.phpt6 function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
20 echo "*** Testing mb_strtoupper() : usage variations ***\n";
97 $res = mb_strtoupper($sourcestring, $input);
113 *** Testing mb_strtoupper() : usage variations ***
117 Warning: mb_strtoupper(): Unknown encoding "0" in %s on line %d
122 Warning: mb_strtoupper(): Unknown encoding "1" in %s on line %d
172 Warning: mb_strtoupper(): Unknown encoding "1" in %s on line %d
177 Warning: mb_strtoupper(): Unknown encoding "" in %s on line %d
187 Warning: mb_strtoupper(): Unknown encoding "" in %s on line %d
192 Warning: mb_strtoupper(): Unknown encoding "" in %s on line %d
[all …]
H A Dmb_strtoupper_error2.phpt2 Test mb_strtoupper() function : error conditions - pass an unknown encoding
6 function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
10 /* Prototype : string mb_strtoupper(string $sourcestring [, string $encoding]
19 echo "*** Testing mb_strtoupper() : error conditions ***\n";
24 var_dump( mb_strtoupper($sourcestring, $encoding) );
30 *** Testing mb_strtoupper() : error conditions ***
32 Warning: mb_strtoupper(): Unknown encoding "unknown-encoding" in %s on line %d
H A Dmb_strtoupper_basic.phpt2 Test mb_strtoupper() function : basic functionality
6 function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
10 /* Prototype : string mb_strtoupper(string $sourcestring [, string $encoding]
16 * Test basic functionality of mb_strtoupper
19 echo "*** Testing mb_strtoupper() : basic functionality ***\n";
28 $ascii = mb_strtoupper($ascii_lower);
38 $mb = mb_strtoupper($greek_lower, 'UTF-8');
51 *** Testing mb_strtoupper() : basic functionality ***
H A Dmb_strtoupper_variation4.phpt2 Test mb_strtoupper() function : usage varitations - Pass different character types to check convers…
6 function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
10 /* Prototype : string mb_strtoupper(string $sourcestring [, string $encoding]
16 * Pass characters from different languages to check that mb_strtoupper is
20 echo "*** Testing mb_strtoupper() : usage variations ***\n";
31 $a = mb_strtoupper($sourcestring, 'UTF-8');
44 *** Testing mb_strtoupper() : usage variations ***
H A Dmb_strtoupper_variation3.phpt2 Test mb_strtoupper() function : usage varitations - pass mixed ASCII and non-ASCII strings
6 function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
10 /* Prototype : string mb_strtoupper(string $sourcestring [, string $encoding]
20 echo "*** Testing mb_strtoupper() : usage variations ***\n";
28 $a = mb_strtoupper($string_mixed_lower, 'UTF-8');
37 $b = mb_strtoupper($string_all_mb, 'UTF-8');
49 *** Testing mb_strtoupper() : usage variations ***
H A Dmb_strtoupper_variation1.phpt2 Test mb_strtoupper() function : usage varitations - pass different data types as $sourcestring arg
6 function_exists('mb_strtoupper') or die("skip mb_strtoupper() is not available in this build");
10 /* Prototype : string mb_strtoupper(string $sourcestring [, string $encoding]
17 * Pass different data types as $sourcestring argument to mb_strtoupper to test behaviour
20 echo "*** Testing mb_strtoupper() : usage variations ***\n";
92 // loop through each element of $inputs to check the behavior of mb_strtoupper()
96 var_dump( mb_strtoupper($input) );
106 *** Testing mb_strtoupper() : usage variations ***
179 Warning: mb_strtoupper() expects parameter 1 to be string, resource given in %s on line %d
H A Dcasefold.phpt2 mb_strtoupper() / mb_strtolower()
15 print mb_strtoupper( mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" ) );
16 print mb_strtoupper( "���\n" );
H A Dbug43998.phpt27 var_dump( mb_strtoupper($sourcestring, $input) );
38 Warning: mb_strtoupper(): Unknown encoding "12345" in %s on line %d
46 Warning: mb_strtoupper(): Unknown encoding "1.23456789E-9" in %s on line %d
54 Warning: mb_strtoupper(): Unknown encoding "1" in %s on line %d
62 Warning: mb_strtoupper(): Unknown encoding "" in %s on line %d
70 Warning: mb_strtoupper(): Unknown encoding "" in %s on line %d
H A Dmb_get_info.phpt61 string(13) "mb_strtoupper"
125 string(13) "mb_strtoupper"
151 string(13) "mb_strtoupper"
H A Dbug52981.phpt9 $upper = mb_strtoupper($str, 'UTF-8');
/PHP-5.5/ext/mbstring/
H A Dmbstring.h90 PHP_FUNCTION(mb_strtoupper);
H A Dmbstring.c528 PHP_FE(mb_strtoupper, arginfo_mb_strtoupper)
3135 PHP_FUNCTION(mb_strtoupper) in PHP_FUNCTION() argument
/PHP-5.5/
H A DNEWS9008 - Fixed bug #29955 (mb_strtoupper() / lower() broken with Turkish encoding).

Completed in 44 milliseconds