Home
last modified time | relevance | path

Searched refs:rewinddir (Results 1 – 12 of 12) sorted by relevance

/PHP-5.3/ext/standard/tests/dir/
H A Drewinddir_variation3.phpt2 Test rewinddir() function : usage variations - file pointers
5 /* Prototype : void rewinddir([resource $dir_handle])
12 * Pass a file pointer to rewinddir() to test behaviour
15 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 …]
H A Drewinddir_variation1.phpt2 Test rewinddir() function : usage variations - different data types as $dir_handle arg
5 /* Prototype : void rewinddir([resource $dir_handle])
12 * Pass different data types as $dir_handle argument to rewinddir() to test behaviour
15 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 %d
139 Warning: rewinddir() expects parameter 1 to be resource, null given in %s on line %d
144 Warning: rewinddir() expects parameter 1 to be resource, null given in %s on line %d
[all …]
H A Drewinddir_error.phpt2 Test rewinddir() function : error conditions - incorrect number of args
5 /* Prototype : void rewinddir([resource $dir_handle])
12 * Pass incorrect number of arguments to rewinddir() to test behaviour
15 echo "*** Testing rewinddir() : error conditions ***\n";
18 //Test rewinddir with one more than the expected number of arguments
19 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
H A Drewinddir_variation2.phpt2 Test rewinddir() function : usage variations - operate on a closed directory
5 /* Prototype : void rewinddir([resource $dir_handle])
12 * Open and close a directory handle then call rewinddir() to test behaviour
15 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
H A Drewinddir_basic.phpt2 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 ***
/PHP-5.3/ext/standard/
H A Dphp_dir.h34 PHP_FUNCTION(rewinddir);
H A Ddir.c106 PHP_FALIAS(rewind, rewinddir, arginfo_dir)
382 PHP_FUNCTION(rewinddir) in PHP_FUNCTION() argument
H A Dbasic_functions.c3176 PHP_FE(rewinddir, arginfo_rewinddir)
/PHP-5.3/TSRM/
H A Dreaddir.h43 int rewinddir(DIR *);
/PHP-5.3/win32/
H A Dreaddir.h47 int rewinddir(DIR *);
H A Dreaddir.c136 int rewinddir(DIR *dp) in rewinddir() function
/PHP-5.3/main/streams/
H A Dplain_wrapper.c838 rewinddir((DIR *)stream->abstract); in php_plain_files_dirstream_rewind()

Completed in 40 milliseconds