Searched refs:mt_srand (Results 1 – 12 of 12) sorted by relevance
/PHP-7.2/ext/standard/tests/math/ |
H A D | mt_srand_basic.phpt | 2 Test mt_srand() - basic function (return values) mt_srand() 7 var_dump(mt_srand()); 8 var_dump(mt_srand(500)); 9 var_dump(mt_srand(500.1)); 10 var_dump(mt_srand("500")); 11 var_dump(mt_srand("500E3")); 12 var_dump(mt_srand(true)); 13 var_dump(mt_srand(false)); 14 var_dump(mt_srand(NULL));
|
H A D | mt_srand_error.phpt | 2 Test mt_srand() - wrong params test mt_srand() 5 var_dump(mt_srand(500, 0, true)); 6 var_dump(mt_srand("fivehundred")); 7 var_dump(mt_srand("500ABC")); 10 Warning: mt_srand() expects at most 2 parameters, 3 given in %s on line 2 13 Warning: mt_srand() expects parameter 1 to be integer, string given in %s on line 3
|
H A D | mt_srand_variation1.phpt | 2 Test mt_srand() function : usage variations - different data types as $seed argument 7 /* Prototype : void mt_srand ([ int $seed ] ) 12 echo "*** Testing mt_srand() : usage variations ***\n"; 80 // loop through each element of $inputs to check the behaviour of mt_srand() 84 var_dump(mt_srand($input)); 91 *** Testing mt_srand() : usage variations *** 116 Warning: mt_srand() expects parameter 1 to be integer, float given in %s on line %d 145 Warning: mt_srand() expects parameter 1 to be integer, string given in %s on line %d 150 Warning: mt_srand() expects parameter 1 to be integer, string given in %s on line %d 155 Warning: mt_srand() expects parameter 1 to be integer, array given in %s on line %d [all …]
|
H A D | bug75170.phpt | 9 mt_srand(1234567890); 20 mt_srand(1234567890);
|
H A D | mt_rand_value.phpt | 6 mt_srand(12345678, MT_RAND_PHP); 20 mt_srand(12345678 /*, MT_RAND_MT19937 */);
|
H A D | bug75514.phpt | 5 mt_srand(0, MT_RAND_PHP);
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | rand.phpt | 20 var_dump(mt_srand()); 21 var_dump(mt_srand(-1)); 22 var_dump(mt_srand(array())); 53 Warning: mt_srand() expects parameter 1 to be integer, array given in %s on line %d
|
/PHP-7.2/ext/zlib/tests/ |
H A D | bug75273.phpt | 11 mt_srand(1);
|
/PHP-7.2/ext/standard/ |
H A D | php_math.h | 50 PHP_FUNCTION(mt_srand);
|
H A D | mt_rand.c | 189 PHP_FUNCTION(mt_srand) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 2875 PHP_FALIAS(srand, mt_srand, arginfo_mt_srand) 2878 PHP_FE(mt_srand, arginfo_mt_srand)
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | mysqli_stmt_attr_set.phpt | 49 mt_srand(microtime(true));
|
Completed in 38 milliseconds