Lines Matching refs:srand
2 Test srand() function : usage variations - different data types as $seed argument
5 /* Prototype : void srand ([ int $seed ] )
10 echo "*** Testing srand() : usage variations ***\n";
78 // loop through each element of $inputs to check the behaviour of srand()
82 var_dump(srand($input));
89 *** Testing srand() : usage variations ***
141 Warning: srand() expects parameter 1 to be long, string given in %s on line %d
146 Warning: srand() expects parameter 1 to be long, string given in %s on line %d
151 Warning: srand() expects parameter 1 to be long, array given in %s on line %d
156 Warning: srand() expects parameter 1 to be long, string given in %s on line %d
161 Warning: srand() expects parameter 1 to be long, string given in %s on line %d
166 Warning: srand() expects parameter 1 to be long, string given in %s on line %d
171 Warning: srand() expects parameter 1 to be long, object given in %s on line %d
182 Warning: srand() expects parameter 1 to be long, resource given in %s on line %d