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