Home
last modified time | relevance | path

Searched refs:readdir (Results 1 – 25 of 56) sorted by relevance

123

/PHP-5.3/ext/standard/tests/dir/
H A Dreaddir_variation1.phpt2 Test readdir() function : usage variations - different data types as $dir_handle arg
5 /* Prototype : string readdir([resource $dir_handle])
11 * Pass different data types as $dir_handle argument to readdir() to test behaviour
14 echo "*** Testing readdir() : usage variations ***\n";
79 // loop through each element of $inputs to check the behavior of readdir()
83 var_dump( readdir($input) );
89 *** Testing readdir() : usage variations ***
113 Warning: readdir() expects parameter 1 to be resource, double given in %s on line %d
138 Warning: readdir() expects parameter 1 to be resource, null given in %s on line %d
143 Warning: readdir() expects parameter 1 to be resource, null given in %s on line %d
[all …]
H A Dreaddir_error.phpt2 Test readdir() function : error conditions - Incorrect number of args
5 /* Prototype : string readdir([resource $dir_handle])
11 * Pass incorrect number of arguments to readdir() to test behaviour
14 echo "*** Testing readdir() : error conditions ***\n";
17 //Test readdir with one more than the expected number of arguments
18 echo "\n-- Testing readdir() function with more than expected no. of arguments --\n";
25 var_dump( readdir($dir_handle, $extra_arg) );
37 *** Testing readdir() : error conditions ***
39 -- Testing readdir() function with more than expected no. of arguments --
41 Warning: readdir() expects at most 1 parameter, 2 given in %s on line %d
H A Dreaddir_basic.phpt2 Test readdir() function : basic functionality
5 /* Prototype : string readdir([resource $dir_handle])
11 * Test basic functionality of readdir()
14 echo "*** Testing readdir() : basic functionality ***\n";
24 echo "\n-- Call readdir() with \$path argument --\n";
27 while( FALSE !== ($file = readdir($dh)) ) {
35 echo "\n-- Call readdir() without \$path argument --\n";
38 while( FALSE !== ( $file = readdir() ) ) {
56 *** Testing readdir() : basic functionality ***
58 -- Call readdir() with $path argument --
[all …]
H A Dreaddir_variation7.phpt2 Test readdir() function : usage variations - use file pointers
5 /* Prototype : string readdir([resource $dir_handle])
11 * Open a file pointer using fopen and pass to readdir() to test behaviour
14 echo "*** Testing readdir() : usage variations ***\n";
18 var_dump( readdir($fp) );
23 *** Testing readdir() : usage variations ***
26 Warning: readdir(): %d is not a valid Directory resource in %s on line %d
H A Dreaddir_variation2.phpt2 Test readdir() function : usage variations - empty directories
5 /* Prototype : string readdir([resource $dir_handle])
11 * Pass readdir() a directory handle pointing to an empty directory to test behaviour
14 echo "*** Testing readdir() : usage variations ***\n";
20 echo "\n-- Pass an empty directory to readdir() --\n";
25 while(FALSE !== ($file = readdir($dir_handle))){
43 *** Testing readdir() : usage variations ***
45 -- Pass an empty directory to readdir() --
H A Dreaddir_variation5.phpt70 var_dump(readdir($dh));
88 -- Calling readdir() --
94 -- Calling readdir() --
100 -- Calling readdir() --
106 -- Calling readdir() --
112 -- Calling readdir() --
118 -- Calling readdir() --
124 -- Calling readdir() --
130 -- Calling readdir() --
136 -- Calling readdir() --
[all …]
H A Dreaddir_variation3.phpt2 Test readdir() function : usage variations - sub-directories
5 /* Prototype : string readdir([resource $dir_handle])
12 * to test behaviour of readdir()
15 echo "*** Testing readdir() : usage variations ***\n";
30 while(FALSE !== ($file = readdir($dir_handle))) {
55 *** Testing readdir() : usage variations ***
H A Dreaddir_variation6.phpt2 Test readdir() function : usage variations - operate on previously opened directory
5 /* Prototype : string readdir([resource $dir_handle])
12 * to readdir() to test behaviour
15 echo "*** Testing readdir() : usage variations ***\n";
35 while (FALSE !== ($file = readdir($dir_handle1))) {
45 while (FALSE !== ($file = readdir())) {
65 *** Testing readdir() : usage variations ***
H A Dreaddir_variation4.phpt2 Test readdir() function : usage variations - different file names
5 /* Prototype : string readdir([resource $dir_handle])
12 * files with different file names to test how readdir() reads them
15 echo "*** Testing readdir() : usage variations ***\n";
60 echo "\n-- Call to readdir() --\n";
62 while(FALSE !== ($file = readdir($dir_handle))){
85 *** Testing readdir() : usage variations ***
143 -- Call to readdir() --
H A Drewinddir_basic.phpt32 while(FALSE !== $file1 = readdir($dh1)) {
40 var_dump(readdir($dh1) == $first);
44 while(FALSE !== $file2 = readdir()) {
52 var_dump(readdir() == $first);
H A Ddir_basic.phpt34 var_dump( readdir($d->handle) );
35 var_dump( readdir($d->handle) );
/PHP-5.3/ext/standard/tests/file/
H A Dfseek_dir_basic.phpt13 echo "call readdir():\n";
16 while( FALSE !== ($files[] = readdir($dh)) ) {}
24 echo "call readdir():\n";
25 while( FALSE !== ($files[] = readdir($dh)) ) {}
33 echo "call readdir():\n";
34 while( FALSE !== ($files[] = readdir($dh)) ) {}
44 call readdir():
63 call readdir():
81 call readdir():
H A Dbug24482.phpt20 while (is_string($file = readdir($dh))) {
34 echo "opendir/readdir/isdir found:\n";
/PHP-5.3/ext/phar/tests/
H A Dopendir_edgecases.phpt23 while (false !== ($b = readdir($a))) {
37 while (false !== ($b = readdir($a))) {
H A D018U.phpt25 while (false !== ($a = readdir($dir))) {
H A D018.phpt26 while (false !== ($a = readdir($dir))) {
H A D019.phpt28 while (false !== ($a = readdir($dir))) {
/PHP-5.3/TSRM/
H A Dreaddir.h40 struct dirent *readdir(DIR *);
/PHP-5.3/win32/
H A Dreaddir.h44 struct dirent *readdir(DIR *);
/PHP-5.3/ext/phar/tests/tar/
H A Dtar_003.phpt35 while (false !== ($v = readdir($tar))) {
44 while (false !== ($v = readdir($tar))) {
/PHP-5.3/ext/zip/tests/
H A Dutils.inc12 while (false !== ($item = readdir($handle))) {
/PHP-5.3/ext/standard/tests/image/
H A Dgetimagesize_246x247.phpt13 while (($file = readdir($dir)) !== FALSE) {
H A Dgetimagesize_384x385.phpt13 while (($file = readdir($dir)) !== FALSE) {
/PHP-5.3/sapi/apache_hooks/
H A Dconfig.w3213 // We need to play tricks to get our readdir.h used by apache
/PHP-5.3/sapi/apache/
H A Dconfig.w3216 // We need to play tricks to get our readdir.h used by apache

Completed in 28 milliseconds

123