Lines Matching refs:mt_srand
2 Test mt_srand() function : usage variations - different data types as $seed argument
5 /* 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 %d
146 Warning: mt_srand() expects parameter 1 to be long, string given in %s on line %d
151 Warning: mt_srand() expects parameter 1 to be long, array given in %s on line %d
156 Warning: mt_srand() expects parameter 1 to be long, string given in %s on line %d
161 Warning: mt_srand() expects parameter 1 to be long, string given in %s on line %d
166 Warning: mt_srand() expects parameter 1 to be long, string given in %s on line %d
171 Warning: mt_srand() expects parameter 1 to be long, object given in %s on line %d
182 Warning: mt_srand() expects parameter 1 to be long, resource given in %s on line %d