Searched refs:mt_srand (Results 1 – 8 of 8) sorted by relevance
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));
2 Test mt_srand() - wrong params test mt_srand()5 var_dump(mt_srand(500, true));6 var_dump(mt_srand("fivehundred"));7 var_dump(mt_srand("500ABC"));10 Warning: mt_srand() expects at most 1 parameter, 2 given in %s on line 213 Warning: mt_srand() expects parameter 1 to be long, string given in %s on line 3
2 Test mt_srand() function : usage variations - different data types as $seed argument5 /* Prototype : void mt_srand ([ int $seed ] )10 echo "*** Testing mt_srand() : usage variations ***\n";78 // loop through each element of $inputs to check the behaviour of mt_srand()82 var_dump(mt_srand($input));89 *** Testing mt_srand() : usage variations ***141 Warning: mt_srand() expects parameter 1 to be long, string given in %s on line %d146 Warning: mt_srand() expects parameter 1 to be long, string given in %s on line %d151 Warning: mt_srand() expects parameter 1 to be long, array given in %s on line %d156 Warning: mt_srand() expects parameter 1 to be long, string given in %s on line %d[all …]
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 long, array given in %s on line %d
51 PHP_FUNCTION(mt_srand);
246 PHP_FUNCTION(mt_srand) in PHP_FUNCTION() argument
2837 PHP_FE(mt_srand, arginfo_mt_srand)
49 mt_srand(microtime(true));
Completed in 27 milliseconds