Searched refs:readdir (Results 1 – 25 of 60) sorted by relevance
123
2 Test readdir() function : basic functionality6 * 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 --
2 Test readdir() function : usage variations - empty directories6 * Pass readdir() a directory handle pointing to an empty directory to test behaviour9 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() --
2 Test readdir() function : basic functionality12 * 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 --
2 Test readdir() function : usage variations - use file pointers6 * Open a file pointer using fopen and pass to readdir() to test behaviour9 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
57 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 …]
2 Test readdir() function : usage variations - empty directories12 * Pass readdir() a directory handle pointing to an empty directory to test behaviour15 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() --
2 Test readdir() function : usage variations - operate on previously opened directory7 * to readdir() to test behaviour10 echo "*** Testing readdir() : usage variations ***\n";30 while (FALSE !== ($file = readdir($dir_handle1))) {40 while (FALSE !== ($file = readdir())) {59 *** Testing readdir() : usage variations ***
2 Test readdir() function : usage variations - sub-directories7 * to test behaviour of readdir()10 echo "*** Testing readdir() : usage variations ***\n";25 while(FALSE !== ($file = readdir($dir_handle))) {49 *** Testing readdir() : usage variations ***
2 Test readdir() function : usage variations - operate on previously opened directory13 * to readdir() to test behaviour16 echo "*** Testing readdir() : usage variations ***\n";36 while (FALSE !== ($file = readdir($dir_handle1))) {46 while (FALSE !== ($file = readdir())) {65 *** Testing readdir() : usage variations ***
2 Test readdir() function : usage variations - sub-directories13 * to test behaviour of readdir()16 echo "*** Testing readdir() : usage variations ***\n";31 while(FALSE !== ($file = readdir($dir_handle))) {55 *** Testing readdir() : usage variations ***
2 Test readdir() function : usage variations - different file names7 * files with different file names to test how readdir() reads them10 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() --
2 Test readdir() function : usage variations - different file names13 * files with different file names to test how readdir() reads them16 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() --
26 while(FALSE !== $file1 = readdir($dh1)) {34 var_dump(readdir($dh1) == $first);38 while(FALSE !== $file2 = readdir()) {46 var_dump(readdir() == $first);
32 while(FALSE !== $file1 = readdir($dh1)) {40 var_dump(readdir($dh1) == $first);44 while(FALSE !== $file2 = readdir()) {52 var_dump(readdir() == $first);
28 var_dump( readdir($d->handle) );29 var_dump( readdir($d->handle) );
34 var_dump( readdir($d->handle) );35 var_dump( readdir($d->handle) );
13 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():
20 while (is_string($file = readdir($dh))) {34 echo "opendir/readdir/isdir found:\n";
16 var_dump(strlen(readdir($handle)));18 var_dump(readdir($handle));
27 while (false !== ($b = readdir($a))) {41 while (false !== ($b = readdir($a))) {
34 while (false !== ($v = readdir($tar))) {43 while (false !== ($v = readdir($tar))) {
45 struct dirent *readdir(DIR *);
24 var_dump(readdir($dh));
18 while ($fn=readdir($ds)) {
2 Test readdir() with a dir for multibyte filenames46 while (($file = readdir($dh)) !== false) {
Completed in 25 milliseconds