Lines Matching refs:directory
2 Test closedir() function : usage variations - close directory handle twice
6 * Description: Close directory connection identified by the dir_handle
12 * close the directory handle twice using closedir() to test behaviour
17 //create temporary directory for test, removed in CLEAN section
18 $directory = dirname(__FILE__) . "/closedir_variation2";
19 mkdir($directory);
21 $dh = opendir($directory);
23 echo "\n-- Close directory handle first time: --\n";
28 echo "\n-- Close directory handle second time: --\n";
36 $directory = dirname(__FILE__) . "/closedir_variation2";
37 rmdir($directory);
42 -- Close directory handle first time: --
46 -- Close directory handle second time: --