Searched refs:closedir (Results 1 – 25 of 95) sorted by relevance
1234
2 Test closedir() function : basic functionality6 * Test basic functionality of closedir()9 echo "*** Testing closedir() : basic functionality ***\n";15 echo "\n-- Call closedir() with no arguments: --\n";17 var_dump(closedir());21 echo "\n-- Call closedir() with \$dir_handle argument supplied: --\n";27 var_dump(closedir($dh2));38 *** Testing closedir() : basic functionality ***40 -- Call closedir() with no arguments: --45 -- Call closedir() with $dir_handle argument supplied: --
2 Test closedir() function : basic functionality12 * Test basic functionality of closedir()15 echo "*** Testing closedir() : basic functionality ***\n";21 echo "\n-- Call closedir() with no arguments: --\n";23 var_dump(closedir());27 echo "\n-- Call closedir() with \$dir_handle argument supplied: --\n";33 var_dump(closedir($dh2));44 *** Testing closedir() : basic functionality ***46 -- Call closedir() with no arguments: --51 -- Call closedir() with $dir_handle argument supplied: --
2 Test closedir() function : usage variations - close a file pointer6 * Create a file pointer using fopen() then try to close it using closedir()9 echo "*** Testing closedir() : usage variations ***\n";14 echo "\n-- Try to close the file pointer using closedir() --\n";16 var_dump(closedir($fp));28 *** Testing closedir() : usage variations ***33 -- Try to close the file pointer using closedir() --34 closedir(): Argument #1 ($dir_handle) must be a valid Directory resource
2 Test closedir() function : usage variations - close directory handle twice6 * close the directory handle twice using closedir() to test behaviour9 echo "*** Testing closedir() : usage variations ***\n";18 var_dump(closedir($dh));24 var_dump(closedir($dh));37 *** Testing closedir() : usage variations ***44 closedir(): supplied resource is not a valid Directory resource
2 Test closedir() function : usage variations - close directory handle twice12 * close the directory handle twice using closedir() to test behaviour15 echo "*** Testing closedir() : usage variations ***\n";24 var_dump(closedir($dh));30 var_dump(closedir($dh));43 *** Testing closedir() : usage variations ***50 closedir(): %s is not a valid Directory resource
2 Calling closedir() without argument and without opening a directory beforehand6 closedir();
26 closedir($dh1);27 closedir($dh2);
32 closedir($dh1);33 closedir($dh2);
33 closedir($dh1);35 closedir($dh2);
39 closedir($dh1);41 closedir($dh2);
50 closedir($dir_handle1);51 closedir();
48 closedir($dh1);49 closedir($dh2);
56 closedir($dir_handle1);57 closedir();
54 closedir($dh1);55 closedir($dh2);
12 ZEND_FUNCTION(closedir);18 ZEND_ME_MAPPING(close, closedir, arginfo_class_Directory_close, ZEND_ACC_PUBLIC)
23 PHP_FUNCTION(closedir);
8 closedir($h);
40 int closedir(DIR *);
38 closedir($tar);47 closedir($tar);
22 closedir($ds);
8 closedir($dir);
18 closedir($dir);
42 closedir($handle);
20 closedir( $resource2 );
Completed in 33 milliseconds