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