Lines Matching refs:mt_rand
5 /* Prototype : int mt_rand ([ int $min , int $max ] )
10 echo "*** Testing mt_rand() : usage variations ***\n";
78 // loop through each element of $inputs to check the behaviour of mt_rand()
82 var_dump(mt_rand($input, mt_getrandmax()));
89 *** Testing mt_rand() : usage variations ***
141 Warning: mt_rand() expects parameter 1 to be integer, string given in %s on line %d
146 Warning: mt_rand() expects parameter 1 to be integer, string given in %s on line %d
151 Warning: mt_rand() expects parameter 1 to be integer, array given in %s on line %d
156 Warning: mt_rand() expects parameter 1 to be integer, string given in %s on line %d
161 Warning: mt_rand() expects parameter 1 to be integer, string given in %s on line %d
166 Warning: mt_rand() expects parameter 1 to be integer, string given in %s on line %d
171 Warning: mt_rand() expects parameter 1 to be integer, object given in %s on line %d
182 Warning: mt_rand() expects parameter 1 to be integer, resource given in %s on line %d