Home
last modified time | relevance | path

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

123

/PHP-8.0/ext/standard/tests/dir/
H A Dreaddir_basic.phpt2 Test readdir() function : basic functionality
6 * Test basic functionality of readdir()
9 echo "*** Testing readdir() : basic functionality ***\n";
19 echo "\n-- Call readdir() with \$path argument --\n";
22 while( FALSE !== ($file = readdir($dh)) ) {
30 echo "\n-- Call readdir() without \$path argument --\n";
33 while( FALSE !== ( $file = readdir() ) ) {
50 *** Testing readdir() : basic functionality ***
52 -- Call readdir() with $path argument --
60 -- Call readdir() without $path argument --
H A Dreaddir_variation2.phpt2 Test readdir() function : usage variations - empty directories
6 * Pass readdir() a directory handle pointing to an empty directory to test behaviour
9 echo "*** Testing readdir() : usage variations ***\n";
15 echo "\n-- Pass an empty directory to readdir() --\n";
20 while(FALSE !== ($file = readdir($dir_handle))){
37 *** Testing readdir() : usage variations ***
39 -- Pass an empty directory to readdir() --
H A Dreaddir_variation7.phpt2 Test readdir() function : usage variations - use file pointers
6 * Open a file pointer using fopen and pass to readdir() to test behaviour
9 echo "*** Testing readdir() : usage variations ***\n";
14 var_dump( readdir($fp) );
21 *** Testing readdir() : usage variations ***
23 readdir(): Argument #1 ($dir_handle) must be a valid Directory resource
H A Dreaddir_basic-win32-mb.phpt2 Test readdir() function : basic functionality
12 * Test basic functionality of readdir()
15 echo "*** Testing readdir() : basic functionality ***\n";
25 echo "\n-- Call readdir() with \$path argument --\n";
28 while( FALSE !== ($file = readdir($dh)) ) {
36 echo "\n-- Call readdir() without \$path argument --\n";
39 while( FALSE !== ( $file = readdir() ) ) {
56 *** Testing readdir() : basic functionality ***
58 -- Call readdir() with $path argument --
66 -- Call readdir() without $path argument --
H A Dreaddir_variation2-win32-mb.phpt2 Test readdir() function : usage variations - empty directories
12 * Pass readdir() a directory handle pointing to an empty directory to test behaviour
15 echo "*** Testing readdir() : usage variations ***\n";
21 echo "\n-- Pass an empty directory to readdir() --\n";
26 while(FALSE !== ($file = readdir($dir_handle))){
43 *** Testing readdir() : usage variations ***
45 -- Pass an empty directory to readdir() --
H A Dreaddir_variation5.phpt57 var_dump(readdir($dh));
74 -- Calling readdir() --
80 -- Calling readdir() --
86 -- Calling readdir() --
92 -- Calling readdir() --
98 -- Calling readdir() --
104 -- Calling readdir() --
110 -- Calling readdir() --
116 -- Calling readdir() --
122 -- Calling readdir() --
[all …]
H A Dreaddir_variation6.phpt2 Test readdir() function : usage variations - operate on previously opened directory
7 * to readdir() to test behaviour
10 echo "*** Testing readdir() : usage variations ***\n";
30 while (FALSE !== ($file = readdir($dir_handle1))) {
40 while (FALSE !== ($file = readdir())) {
59 *** Testing readdir() : usage variations ***
H A Dreaddir_variation3.phpt2 Test readdir() function : usage variations - sub-directories
7 * to test behaviour of readdir()
10 echo "*** Testing readdir() : usage variations ***\n";
25 while(FALSE !== ($file = readdir($dir_handle))) {
49 *** Testing readdir() : usage variations ***
H A Dreaddir_variation3-win32-mb.phpt2 Test readdir() function : usage variations - sub-directories
13 * to test behaviour of readdir()
16 echo "*** Testing readdir() : usage variations ***\n";
31 while(FALSE !== ($file = readdir($dir_handle))) {
55 *** Testing readdir() : usage variations ***
H A Dreaddir_variation6-win32-mb.phpt2 Test readdir() function : usage variations - operate on previously opened directory
13 * to readdir() to test behaviour
16 echo "*** Testing readdir() : usage variations ***\n";
36 while (FALSE !== ($file = readdir($dir_handle1))) {
46 while (FALSE !== ($file = readdir())) {
65 *** Testing readdir() : usage variations ***
H A Dreaddir_variation4.phpt2 Test readdir() function : usage variations - different file names
7 * files with different file names to test how readdir() reads them
10 echo "*** Testing readdir() : usage variations ***\n";
55 echo "\n-- Call to readdir() --\n";
57 while(FALSE !== ($file = readdir($dir_handle))){
79 *** Testing readdir() : usage variations ***
137 -- Call to readdir() --
H A Dreaddir_variation4-win32-mb.phpt2 Test readdir() function : usage variations - different file names
13 * files with different file names to test how readdir() reads them
16 echo "*** Testing readdir() : usage variations ***\n";
61 echo "\n-- Call to readdir() --\n";
63 while(FALSE !== ($file = readdir($dir_handle))){
85 *** Testing readdir() : usage variations ***
143 -- Call to readdir() --
H A Drewinddir_basic.phpt26 while(FALSE !== $file1 = readdir($dh1)) {
34 var_dump(readdir($dh1) == $first);
38 while(FALSE !== $file2 = readdir()) {
46 var_dump(readdir() == $first);
H A Drewinddir_basic-win32-mb.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.phpt28 var_dump( readdir($d->handle) );
29 var_dump( readdir($d->handle) );
/PHP-8.0/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-8.0/ext/standard/
H A Ddir_arginfo.h14 ZEND_FUNCTION(readdir);
20 ZEND_ME_MAPPING(read, readdir, arginfo_class_Directory_read, ZEND_ACC_PUBLIC)
H A Dphp_dir.h25 PHP_FUNCTION(readdir);
/PHP-8.0/ext/phar/tests/
H A DGHSA-jqcx-ccgc-xwhv.phpt16 var_dump(strlen(readdir($handle)));
18 var_dump(readdir($handle));
H A Dopendir_edgecases.phpt27 while (false !== ($b = readdir($a))) {
41 while (false !== ($b = readdir($a))) {
/PHP-8.0/win32/
H A Dreaddir.h39 struct dirent *readdir(DIR *);
/PHP-8.0/ext/phar/tests/tar/
H A Dtar_003.phpt34 while (false !== ($v = readdir($tar))) {
43 while (false !== ($v = readdir($tar))) {
/PHP-8.0/ext/standard/tests/file/windows_mb_path/
H A Dtest_readdir_mb_names.phpt2 Test readdir() with a dir for multibyte filenames
46 while (($file = readdir($dh)) !== false) {
/PHP-8.0/ext/standard/tests/streams/
H A Dopendir-002.phpt18 while ($fn=readdir($ds)) {

Completed in 38 milliseconds

123