2 /* Prototype : void mt_srand ([ int $seed ] )
3 * Description: Seed the better random number generator.
4 * Source code: ext/standard/rand.c
7 echo "*** Testing mt_srand() : usage variations ***\n";
9 //get an unset variable
24 // get a resource variable
25 $fp = fopen(__FILE__
, "r");
66 /*24*/ @$undefined_var,
75 // loop through each element of $inputs to check the behaviour of mt_srand()
77 foreach($inputs as $input) {
78 echo "\n-- Iteration $iterator --\n";
79 var_dump(mt_srand($input));