--TEST-- Test chr() function : usage variations - test values for $ascii argument --FILE-- ===DONE=== --EXPECTF-- *** Testing chr() function: with unexpected inputs for 'ascii' argument *** -- Iteration 1 -- unicode(2) "00" -- Iteration 2 -- unicode(2) "01" -- Iteration 3 -- unicode(2) "ff" -- Iteration 4 -- unicode(2) "3f" -- Iteration 5 -- unicode(2) "0a" -- Iteration 6 -- unicode(4) "3f3f" -- Iteration 7 -- Warning: Codepoint value cannot be greater than 10FFFF in %s on line %d unicode(0) "" -- Iteration 8 -- Warning: chr() expects parameter 1 to be long, array given in %s on line %d unicode(0) "" -- Iteration 9 -- Warning: chr() expects parameter 1 to be long, array given in %s on line %d unicode(0) "" -- Iteration 10 -- Warning: chr() expects parameter 1 to be long, array given in %s on line %d unicode(0) "" -- Iteration 11 -- unicode(2) "01" -- Iteration 12 -- unicode(2) "00" -- Iteration 13 -- unicode(2) "01" -- Iteration 14 -- unicode(2) "00" -- Iteration 15 -- unicode(2) "00" -- Iteration 16 -- unicode(2) "00" -- Iteration 17 -- Warning: chr() expects parameter 1 to be long, object given in %s on line %d unicode(0) "" -- Iteration 18 -- Warning: chr() expects parameter 1 to be long, resource given in %s on line %d unicode(0) "" -- Iteration 19 -- unicode(2) "00" -- Iteration 20 -- unicode(2) "00" ===DONE===