Home
last modified time | relevance | path

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

123

/PHP-7.4/ext/standard/tests/dir/
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_basic-win32-mb.phpt2 Test readdir() function : basic functionality
11 /* Prototype : string readdir([resource $dir_handle])
17 * Test basic functionality of readdir()
20 echo "*** Testing readdir() : basic functionality ***\n";
30 echo "\n-- Call readdir() with \$path argument --\n";
33 while( FALSE !== ($file = readdir($dh)) ) {
41 echo "\n-- Call readdir() without \$path argument --\n";
44 while( FALSE !== ( $file = readdir() ) ) {
62 *** Testing readdir() : basic functionality ***
64 -- Call readdir() with $path argument --
[all …]
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_variation2-win32-mb.phpt2 Test readdir() function : usage variations - empty directories
11 /* Prototype : string readdir([resource $dir_handle])
17 * Pass readdir() a directory handle pointing to an empty directory to test behaviour
20 echo "*** Testing readdir() : usage variations ***\n";
26 echo "\n-- Pass an empty directory to readdir() --\n";
31 while(FALSE !== ($file = readdir($dir_handle))){
49 *** Testing readdir() : usage variations ***
51 -- Pass an empty directory to readdir() --
H A Dreaddir_variation5.phpt62 var_dump(readdir($dh));
80 -- Calling readdir() --
86 -- Calling readdir() --
92 -- Calling readdir() --
98 -- Calling readdir() --
104 -- Calling readdir() --
110 -- Calling readdir() --
116 -- Calling readdir() --
122 -- Calling readdir() --
128 -- 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_variation3-win32-mb.phpt2 Test readdir() function : usage variations - sub-directories
11 /* Prototype : string readdir([resource $dir_handle])
18 * to test behaviour of readdir()
21 echo "*** Testing readdir() : usage variations ***\n";
36 while(FALSE !== ($file = readdir($dir_handle))) {
61 *** Testing readdir() : usage variations ***
H A Dreaddir_variation6-win32-mb.phpt2 Test readdir() function : usage variations - operate on previously opened directory
11 /* Prototype : string readdir([resource $dir_handle])
18 * to readdir() to test behaviour
21 echo "*** Testing readdir() : usage variations ***\n";
41 while (FALSE !== ($file = readdir($dir_handle1))) {
51 while (FALSE !== ($file = readdir())) {
71 *** Testing readdir() : usage variations ***
H A Dreaddir_variation4-win32-mb.phpt2 Test readdir() function : usage variations - different file names
11 /* Prototype : string readdir([resource $dir_handle])
18 * files with different file names to test how readdir() reads them
21 echo "*** Testing readdir() : usage variations ***\n";
66 echo "\n-- Call to readdir() --\n";
68 while(FALSE !== ($file = readdir($dir_handle))){
91 *** Testing readdir() : usage variations ***
149 -- Call to readdir() --
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 Drewinddir_basic-win32-mb.phpt38 while(FALSE !== $file1 = readdir($dh1)) {
46 var_dump(readdir($dh1) == $first);
50 while(FALSE !== $file2 = readdir()) {
58 var_dump(readdir() == $first);
H A Ddir_basic-win32-mb.phpt40 var_dump( readdir($d->handle) );
41 var_dump( readdir($d->handle) );
/PHP-7.4/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-7.4/ext/phar/tests/
H A Dopendir_edgecases.phpt23 while (false !== ($b = readdir($a))) {
37 while (false !== ($b = readdir($a))) {
/PHP-7.4/win32/
H A Dreaddir.h39 struct dirent *readdir(DIR *);
/PHP-7.4/ext/phar/tests/tar/
H A Dtar_003.phpt34 while (false !== ($v = readdir($tar))) {
43 while (false !== ($v = readdir($tar))) {
/PHP-7.4/ext/standard/tests/streams/
H A Dopendir-002.phpt18 while ($fn=readdir($ds)) {
/PHP-7.4/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-7.4/ext/zip/tests/
H A Dutils.inc26 while (false !== ($item = readdir($handle))) {
/PHP-7.4/ext/standard/tests/image/
H A Dgetimagesize_246x247.phpt13 while (($file = readdir($dir)) !== FALSE) {
H A Dgetimagesize_384x385.phpt13 while (($file = readdir($dir)) !== FALSE) {

Completed in 24 milliseconds

123