Lines Matching refs:dir
13 $dir = __DIR__ . "/bug61964";
14 @mkdir($dir);
16 $magic_file_copy = $dir . "/magic.copy";
21 $ret = finfo_open(FILEINFO_NONE, $dir);
24 $ret = @finfo_open(FILEINFO_NONE, $dir);
27 $ret = @finfo_open(FILEINFO_NONE, $dir. "/non-exits-dir");
31 file_put_contents($dir . "/test1.txt", "string\n> Core\n> Me");
32 file_put_contents($dir . "/test2.txt", "a\nb\n");
33 @mkdir($dir . "/test-inner-folder");
35 finfo_open(FILEINFO_NONE, $dir);
36 echo "DONE: testing dir with files\n";
38 rmdir($dir . "/test-inner-folder");
39 unlink($dir . "/test1.txt");
40 unlink($dir . "/test2.txt");
44 rmdir($dir);
64 DONE: testing dir with files