Lines Matching refs:strtoupper
2 Test strtoupper() function
11 string strtoupper ( string $string );
16 echo "*** Testing strtoupper() with all 256 chars ***\n";
19 print(bin2hex($char))." => ".(bin2hex(strtoupper("$char")))."\n";
22 echo "\n*** Testing strtoupper() with basic strings ***\n";
24 var_dump(strtoupper($str));
26 echo "\n*** Testing strtoupper() with various strings ***";
27 /* strings to pass strtoupper() */
45 var_dump( strtoupper($string) );
49 echo "\n*** Testing strtoupper() with two different case strings ***\n";
50 if (strtoupper("HeLLo woRLd") === strtoupper("hEllo WORLD"))
56 var_dump( strtoupper() ); /* Zero arguments */
57 var_dump( strtoupper("a", "b") ); /* Arguments > Expected */
62 *** Testing strtoupper() with all 256 chars ***
320 *** Testing strtoupper() with basic strings ***
324 *** Testing strtoupper() with various strings ***
354 Warning: strtoupper() expects parameter 1 to be string, array given in %s on line %d
357 *** Testing strtoupper() with two different case strings ***
361 Warning: strtoupper() expects exactly 1 parameter, 0 given in %s on line %d
364 Warning: strtoupper() expects exactly 1 parameter, 2 given in %s on line %d