Home
last modified time | relevance | path

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

123456

/dports/lang/php73/php-7.3.33/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
/dports/www/mod_php73/php-7.3.33/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
/dports/lang/php74/php-7.4.27/ext/standard/tests/strings/
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 D004.phpt2 Testing randomization of shuffle() and str_shuffle().
27 $s = str_shuffle($p);
32 stats('str_shuffle', $a);
60 str_shuffle
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/strings/
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 D004.phpt2 Testing randomization of shuffle() and str_shuffle().
27 $s = str_shuffle($p);
32 stats('str_shuffle', $a);
60 str_shuffle
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/strings/
H A Dstr_shuffle_basic.phpt2 Test str_shuffle() function : basic functionality
6 * Testing str_shuffle() : basic functionality
9 echo "*** Testing str_shuffle() : basic functionality ***\n";
12 $str = 'This testcase tests the str_shuffle() function.';
13 var_dump(str_shuffle($str));
24 $op = str_shuffle($ip);
50 *** Testing str_shuffle() : basic functionality ***
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.
6 var_dump(str_shuffle($s));
/dports/lang/php81/php-8.1.1/ext/standard/tests/strings/
H A Dstr_shuffle_basic.phpt2 Test str_shuffle() function : basic functionality
6 * Testing str_shuffle() : basic functionality
9 echo "*** Testing str_shuffle() : basic functionality ***\n";
12 $str = 'This testcase tests the str_shuffle() function.';
13 var_dump(str_shuffle($str));
24 $op = str_shuffle($ip);
50 *** Testing str_shuffle() : basic functionality ***
H A D004.phpt2 Testing randomization of shuffle() and str_shuffle().
27 $s = str_shuffle($p);
32 stats('str_shuffle', $a);
60 str_shuffle
/dports/lang/php80/php-8.0.15/ext/standard/tests/strings/
H A Dstr_shuffle_basic.phpt2 Test str_shuffle() function : basic functionality
6 * Testing str_shuffle() : basic functionality
9 echo "*** Testing str_shuffle() : basic functionality ***\n";
12 $str = 'This testcase tests the str_shuffle() function.';
13 var_dump(str_shuffle($str));
24 $op = str_shuffle($ip);
50 *** Testing str_shuffle() : basic functionality ***
H A D004.phpt2 Testing randomization of shuffle() and str_shuffle().
27 $s = str_shuffle($p);
32 stats('str_shuffle', $a);
60 str_shuffle
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/strings/
H A Dstr_shuffle_basic.phpt2 Test str_shuffle() function : basic functionality
6 * Testing str_shuffle() : basic functionality
9 echo "*** Testing str_shuffle() : basic functionality ***\n";
12 $str = 'This testcase tests the str_shuffle() function.';
13 var_dump(str_shuffle($str));
24 $op = str_shuffle($ip);
50 *** Testing str_shuffle() : basic functionality ***
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.
6 var_dump(str_shuffle($s));
/dports/devel/pear-PHP_Compat/PHP_Compat-1.5.0/tests/function/
H A Dstr_shuffle.phpt2 Function -- str_shuffle
4 <?php if (function_exists('str_shuffle')) { echo 'skip'; } ?>
8 PHP_Compat::loadFunction('str_shuffle');
10 $string = str_shuffle('ab');
/dports/net-mgmt/librenms/librenms-21.5.1/tests/Feature/SnmpTraps/
H A DMgmtTrapNmsAlarmTest.php156 $alarm['srcPm'] = str_shuffle('0123456789abcdefg');
157 $alarm['specific'] = str_shuffle('0123456789abcdefg');
158 $alarm['portType'] = str_shuffle('0123456789abcdefg');
159 $alarm['probCause'] = str_shuffle('0123456789abcdefg');
161 $alarm['addText'] = str_shuffle('0123456789abcdefg');
H A DMgmtTrapNmsEventTest.php152 $alarm['srcPm'] = str_shuffle('0123456789abcdefg');
153 $alarm['reason'] = str_shuffle('0123456789abcdefg');
154 $alarm['portType'] = str_shuffle('0123456789abcdefg');
156 $alarm['addText'] = str_shuffle('0123456789abcdefg');

123456