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