--TEST-- Test str_shuffle() function : usage variations - test values for $haystack argument --FILE-- ===DONE=== --EXPECTF-- *** Testing str_shuffle() function: with unexpected inputs for 'string' argument *** -- Iteration 1 -- unicode(1) "0" -- Iteration 2 -- unicode(1) "1" -- Iteration 3 -- unicode(2) "%s" -- Iteration 4 -- unicode(10) "%s" -- Iteration 5 -- unicode(11) "%s" -- Iteration 6 -- unicode(4) "%s" -- Iteration 7 -- unicode(5) "%s" -- Iteration 8 -- unicode(12) "%s" -- Iteration 9 -- Warning: str_shuffle() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d NULL -- Iteration 10 -- Warning: str_shuffle() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d NULL -- Iteration 11 -- Warning: str_shuffle() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d NULL -- Iteration 12 -- unicode(1) "1" -- Iteration 13 -- unicode(0) "" -- Iteration 14 -- unicode(1) "1" -- Iteration 15 -- unicode(0) "" -- Iteration 16 -- unicode(0) "" -- Iteration 17 -- unicode(0) "" -- Iteration 18 -- unicode(13) "%s" -- Iteration 19 -- Warning: str_shuffle() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d NULL -- Iteration 20 -- unicode(0) "" -- Iteration 21 -- unicode(0) "" ===DONE===