Lines Matching refs:strtoupper
2 Test strtoupper() function
18 string strtoupper ( string $string );
28 echo "*** Testing strtoupper() with 128 chars ***\n";
31 print(bin2hex($char))." => ".(bin2hex(strtoupper("$char")))."\n";
34 echo "\n*** Testing strtoupper() with basic strings ***\n";
36 var_dump(strtoupper($str));
38 echo "\n*** Testing strtoupper() with various strings ***";
39 /* strings to pass strtoupper() */
57 var_dump( strtoupper($string) );
61 echo "\n*** Testing strtoupper() with two different case strings ***\n";
62 if (strtoupper("HeLLo woRLd") === strtoupper("hEllo WORLD"))
68 var_dump( strtoupper() ); /* Zero arguments */
69 var_dump( strtoupper("a", "b") ); /* Arguments > Expected */
74 *** Testing strtoupper() with 128 chars ***
204 *** Testing strtoupper() with basic strings ***
208 *** Testing strtoupper() with various strings ***
238 Warning: strtoupper() expects parameter 1 to be string, array given in %s on line %d
241 *** Testing strtoupper() with two different case strings ***
245 Warning: strtoupper() expects exactly 1 parameter, 0 given in %s on line %d
248 Warning: strtoupper() expects exactly 1 parameter, 2 given in %s on line %d