Searched refs:rewinddir (Results 1 – 12 of 12) sorted by relevance
2 Test rewinddir() function : usage variations - file pointers5 /* Prototype : void rewinddir([resource $dir_handle])12 * Pass a file pointer to rewinddir() to test behaviour15 echo "*** Testing rewinddir() : usage variations ***\n";21 var_dump(rewinddir($fp));24 echo "\n-- Check if rewinddir() has repositioned the file pointer --\n";26 echo "rewinddir() works on file pointers\n";28 echo "rewinddir() does not work on file pointers\n";33 *** Testing rewinddir() : usage variations ***41 -- Check if rewinddir() has repositioned the file pointer --[all …]
2 Test rewinddir() function : usage variations - different data types as $dir_handle arg5 /* Prototype : void rewinddir([resource $dir_handle])12 * Pass different data types as $dir_handle argument to rewinddir() to test behaviour15 echo "*** Testing rewinddir() : usage variations ***\n";80 // loop through each element of $inputs to check the behavior of rewinddir()84 var_dump( rewinddir($input) );90 *** Testing rewinddir() : usage variations ***114 Warning: rewinddir() expects parameter 1 to be resource, double given in %s on line %d139 Warning: rewinddir() expects parameter 1 to be resource, null given in %s on line %d144 Warning: rewinddir() expects parameter 1 to be resource, null given in %s on line %d[all …]
2 Test rewinddir() function : error conditions - incorrect number of args5 /* Prototype : void rewinddir([resource $dir_handle])12 * Pass incorrect number of arguments to rewinddir() to test behaviour15 echo "*** Testing rewinddir() : error conditions ***\n";18 //Test rewinddir with one more than the expected number of arguments19 echo "\n-- Testing rewinddir() function with more than expected no. of arguments --\n";26 var_dump( rewinddir($dir_handle, $extra_arg) );36 *** Testing rewinddir() : error conditions ***38 -- Testing rewinddir() function with more than expected no. of arguments --40 Warning: rewinddir() expects at most 1 parameter, 2 given in %s on line %d
2 Test rewinddir() function : usage variations - operate on a closed directory5 /* Prototype : void rewinddir([resource $dir_handle])12 * Open and close a directory handle then call rewinddir() to test behaviour15 echo "*** Testing rewinddir() : usage variations ***\n";25 echo "\n-- Call to rewinddir() --\n";26 var_dump(rewinddir($dir_handle));35 *** Testing rewinddir() : usage variations ***41 -- Call to rewinddir() --43 Warning: rewinddir(): %d is not a valid Directory resource in %s on line %d
2 Test rewinddir() function : basic functionality 5 /* Prototype : void rewinddir([resource $dir_handle])12 * Test basic functionality of rewinddir()15 echo "*** Testing rewinddir() : basic functionality ***\n";39 var_dump(rewinddir($dh1));51 var_dump(rewinddir());69 *** Testing rewinddir() : basic functionality ***
34 PHP_FUNCTION(rewinddir);
106 PHP_FALIAS(rewind, rewinddir, arginfo_dir)382 PHP_FUNCTION(rewinddir) in PHP_FUNCTION() argument
3176 PHP_FE(rewinddir, arginfo_rewinddir)
43 int rewinddir(DIR *);
47 int rewinddir(DIR *);
136 int rewinddir(DIR *dp) in rewinddir() function
838 rewinddir((DIR *)stream->abstract); in php_plain_files_dirstream_rewind()
Completed in 44 milliseconds