Lines Matching refs:srand
2 Test srand() function : usage variations - different data types as $seed argument
7 /* Prototype : void srand ([ int $seed ] )
12 echo "*** Testing srand() : usage variations ***\n";
80 // loop through each element of $inputs to check the behaviour of srand()
84 var_dump(srand($input));
91 *** Testing srand() : usage variations ***
116 Warning: srand() expects parameter 1 to be integer, float given in %s on line %d
145 Warning: srand() expects parameter 1 to be integer, string given in %s on line %d
150 Warning: srand() expects parameter 1 to be integer, string given in %s on line %d
155 Warning: srand() expects parameter 1 to be integer, array given in %s on line %d
160 Warning: srand() expects parameter 1 to be integer, string given in %s on line %d
165 Warning: srand() expects parameter 1 to be integer, string given in %s on line %d
170 Warning: srand() expects parameter 1 to be integer, string given in %s on line %d
175 Warning: srand() expects parameter 1 to be integer, object given in %s on line %d
186 Warning: srand() expects parameter 1 to be integer, resource given in %s on line %d