Searched refs:readdir (Results 1 – 25 of 56) sorted by relevance
123
2 Test readdir() function : basic functionality5 /* 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 …]
2 Test readdir() function : usage variations - use file pointers5 /* Prototype : string readdir([resource $dir_handle])11 * Open a file pointer using fopen and pass to readdir() to test behaviour14 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
2 Test readdir() function : basic functionality11 /* 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 …]
2 Test readdir() function : usage variations - empty directories5 /* Prototype : string readdir([resource $dir_handle])11 * Pass readdir() a directory handle pointing to an empty directory to test behaviour14 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() --
2 Test readdir() function : usage variations - empty directories11 /* Prototype : string readdir([resource $dir_handle])17 * Pass readdir() a directory handle pointing to an empty directory to test behaviour20 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() --
62 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 …]
2 Test readdir() function : usage variations - sub-directories5 /* 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 ***
2 Test readdir() function : usage variations - operate on previously opened directory5 /* Prototype : string readdir([resource $dir_handle])12 * to readdir() to test behaviour15 echo "*** Testing readdir() : usage variations ***\n";35 while (FALSE !== ($file = readdir($dir_handle1))) {45 while (FALSE !== ($file = readdir())) {65 *** Testing readdir() : usage variations ***
2 Test readdir() function : usage variations - sub-directories11 /* 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 ***
2 Test readdir() function : usage variations - operate on previously opened directory11 /* Prototype : string readdir([resource $dir_handle])18 * to readdir() to test behaviour21 echo "*** Testing readdir() : usage variations ***\n";41 while (FALSE !== ($file = readdir($dir_handle1))) {51 while (FALSE !== ($file = readdir())) {71 *** Testing readdir() : usage variations ***
2 Test readdir() function : usage variations - different file names11 /* Prototype : string readdir([resource $dir_handle])18 * files with different file names to test how readdir() reads them21 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() --
2 Test readdir() function : usage variations - different file names5 /* Prototype : string readdir([resource $dir_handle])12 * files with different file names to test how readdir() reads them15 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() --
32 while(FALSE !== $file1 = readdir($dh1)) {40 var_dump(readdir($dh1) == $first);44 while(FALSE !== $file2 = readdir()) {52 var_dump(readdir() == $first);
38 while(FALSE !== $file1 = readdir($dh1)) {46 var_dump(readdir($dh1) == $first);50 while(FALSE !== $file2 = readdir()) {58 var_dump(readdir() == $first);
40 var_dump( readdir($d->handle) );41 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";
23 while (false !== ($b = readdir($a))) {37 while (false !== ($b = readdir($a))) {
39 struct dirent *readdir(DIR *);
34 while (false !== ($v = readdir($tar))) {43 while (false !== ($v = readdir($tar))) {
18 while ($fn=readdir($ds)) {
2 Test readdir() with a dir for multibyte filenames46 while (($file = readdir($dh)) !== false) {
26 while (false !== ($item = readdir($handle))) {
13 while (($file = readdir($dir)) !== FALSE) {
Completed in 24 milliseconds