Lines Matching refs:bin2hex
2 Test bin2hex() function : error conditions
6 /* Prototype : string bin2hex ( string $str )
11 echo "*** Testing bin2hex() : error conditions ***\n";
13 echo "\n-- Testing bin2hex() function with no arguments --\n";
14 var_dump( bin2hex() );
16 echo "\n-- Testing bin2hex() function with more than expected no. of arguments --\n";
18 var_dump( bin2hex("Hello World", $extra_arg) );
23 *** Testing bin2hex() : error conditions ***
25 -- Testing bin2hex() function with no arguments --
27 Warning: bin2hex() expects exactly 1 parameter, 0 given in %s on line %d
30 -- Testing bin2hex() function with more than expected no. of arguments --
32 Warning: bin2hex() expects exactly 1 parameter, 2 given in %s on line %d