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