Home
last modified time | relevance | path

Searched refs:str_shuffle (Results 1 – 8 of 8) sorted by relevance

/PHP-7.0/ext/standard/tests/strings/
H A Dstr_shuffle_error.phpt2 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 %d
29 -- Testing str_shuffle() function with more than expected no. of arguments --
[all …]
H A Dstr_shuffle_basic.phpt2 Test str_shuffle() function : basic functionality
5 /* Prototype : string str_shuffle ( string $str )
11 * Testing str_shuffle() : basic functionality
14 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 ***
H A Dstr_shuffle_variation1.phpt2 Test str_shuffle() function : usage variations - test values for $haystack argument
6 /* 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() function
75 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 %d
107 Warning: str_shuffle() expects parameter 1 to be string, array given in %s on line %d
111 Warning: str_shuffle() expects parameter 1 to be string, array given in %s on line %d
129 Warning: str_shuffle() expects parameter 1 to be string, resource given in %s on line %d
H A D004.phpt2 Testing randomization of shuffle() and str_shuffle().
27 $s = str_shuffle($p);
32 stats('str_shuffle', $a);
60 str_shuffle
H A Dstr_shuffle.phpt2 Testing str_shuffle.
7 var_dump(str_shuffle($s));
/PHP-7.0/ext/standard/
H A Dphp_string.h91 PHP_FUNCTION(str_shuffle);
H A Dstring.c5381 PHP_FUNCTION(str_shuffle) argument
H A Dbasic_functions.c2750 PHP_FE(str_shuffle, arginfo_str_shuffle)

Completed in 34 milliseconds