Searched refs:str_shuffle (Results 1 – 8 of 8) sorted by relevance
2 Test str_shuffle() function : error conditions 6 /* Prototype : string str_shuffle ( string $str )10 echo "*** Testing str_shuffle() : error conditions ***\n";12 echo "\n-- Testing str_shuffle() function with no arguments --\n";13 var_dump( str_shuffle() );17 var_dump( str_shuffle("Hello World", $extra_arg) );22 *** Testing str_shuffle() : error conditions ***24 -- Testing str_shuffle() function with no arguments --26 Warning: str_shuffle() expects exactly 1 parameter, 0 given in %s on line %d29 -- Testing str_shuffle() function with more than expected no. of arguments --[all …]
2 Test str_shuffle() function : basic functionality 5 /* Prototype : string str_shuffle ( string $str )11 * Testing str_shuffle() : basic functionality14 echo "*** Testing str_shuffle() : basic functionality ***\n";17 $str = 'This testcase tests the str_shuffle() function.';18 var_dump(str_shuffle($str));29 $op = str_shuffle($ip);56 *** Testing str_shuffle() : basic functionality ***
2 Test str_shuffle() function : usage variations - test values for $haystack argument6 /* Prototype : string str_shuffle ( string $str )11 echo "*** Testing str_shuffle() function: with unexpected inputs for 'string' argument ***\n";71 // loop through with each element of the $inputs array to test str_shuffle() function75 var_dump( str_shuffle($input) );84 *** Testing str_shuffle() function: with unexpected inputs for 'string' argument ***103 Warning: str_shuffle() expects parameter 1 to be string, array given in %s on line %d107 Warning: str_shuffle() expects parameter 1 to be string, array given in %s on line %d111 Warning: str_shuffle() expects parameter 1 to be string, array given in %s on line %d129 Warning: str_shuffle() expects parameter 1 to be string, resource given in %s on line %d
2 Testing randomization of shuffle() and str_shuffle().27 $s = str_shuffle($p);32 stats('str_shuffle', $a);60 str_shuffle
2 Testing str_shuffle.7 var_dump(str_shuffle($s));
91 PHP_FUNCTION(str_shuffle);
5381 PHP_FUNCTION(str_shuffle) argument
2750 PHP_FE(str_shuffle, arginfo_str_shuffle)
Completed in 34 milliseconds