Lines Matching refs:chr
2 Test chr() and ord() functions
5 /* Prototype: string chr ( int $ascii );
11 echo "*** Testing ord() & chr() basic operations ***\n";
12 for($i=0; $i<256; $i++) echo !ord(chr($i)) == $i;
15 echo "\n*** Testing chr() usage variations ***\n";
40 var_dump( chr($var) );
53 echo "\n*** Testing chr() error conditions ***\n";
55 var_dump( chr() );
57 var_dump( chr($arr_test[0], $arr_test[1]) );
69 *** Testing ord() & chr() basic operations ***
71 *** Testing chr() usage variations ***
151 *** Testing chr() error conditions ***
153 Warning: Wrong parameter count for chr() in %s on line %d
156 Warning: Wrong parameter count for chr() in %s on line %d