--TEST-- Test srand() function : usage variations - different data types as $seed argument --SKIPIF-- ===Done=== --EXPECTF-- *** Testing srand() : usage variations *** -- Iteration 1 -- NULL -- Iteration 2 -- NULL -- Iteration 3 -- NULL -- Iteration 4 -- NULL -- Iteration 5 -- NULL -- Iteration 6 -- NULL -- Iteration 7 -- NULL -- Iteration 8 -- Warning: srand() expects parameter 1 to be int, float given in %s on line %d NULL -- Iteration 9 -- NULL -- Iteration 10 -- NULL -- Iteration 11 -- NULL -- Iteration 12 -- NULL -- Iteration 13 -- NULL -- Iteration 14 -- NULL -- Iteration 15 -- NULL -- Iteration 16 -- NULL -- Iteration 17 -- Warning: srand() expects parameter 1 to be int, string given in %s on line %d NULL -- Iteration 18 -- Warning: srand() expects parameter 1 to be int, string given in %s on line %d NULL -- Iteration 19 -- Warning: srand() expects parameter 1 to be int, array given in %s on line %d NULL -- Iteration 20 -- Warning: srand() expects parameter 1 to be int, string given in %s on line %d NULL -- Iteration 21 -- Warning: srand() expects parameter 1 to be int, string given in %s on line %d NULL -- Iteration 22 -- Warning: srand() expects parameter 1 to be int, string given in %s on line %d NULL -- Iteration 23 -- Warning: srand() expects parameter 1 to be int, object given in %s on line %d NULL -- Iteration 24 -- NULL -- Iteration 25 -- NULL -- Iteration 26 -- Warning: srand() expects parameter 1 to be int, resource given in %s on line %d NULL ===Done===