Home
last modified time | relevance | path

Searched refs:rmdir (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/PHP-7.0/tests/security/
H A Dopen_basedir_rmdir.phpt9 test_open_basedir_before("rmdir");
11 var_dump(rmdir("../bad"));
12 var_dump(rmdir(".././bad"));
13 var_dump(rmdir("../bad/../bad"));
14 var_dump(rmdir("./.././bad"));
15 var_dump(rmdir($initdir."/test/bad"));
17 test_open_basedir_after("rmdir");
25 *** Testing open_basedir configuration [rmdir] ***
32 Warning: rmdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
35 Warning: rmdir(): open_basedir restriction in effect. File(.././bad) is not within the allowed path…
[all …]
/PHP-7.0/ext/standard/tests/file/
H A Drmdir_variation2.phpt2 Test rmdir() function : usage variation - different types for context
7 /* Prototype : bool rmdir(string dirname[, resource context])
13 echo "*** Testing rmdir() : usage variation ***\n";
115 var_dump( rmdir($dirname, $value) );
118 @rmdir($dirname);
123 *** Testing rmdir() : usage variation ***
142 Error: 2 - rmdir() expects parameter 2 to be resource, float given, %s(%d)
146 Error: 2 - rmdir() expects parameter 2 to be resource, float given, %s(%d)
150 Error: 2 - rmdir() expects parameter 2 to be resource, float given, %s(%d)
178 Error: 2 - rmdir() expects parameter 2 to be resource, null given, %s(%d)
[all …]
H A Dmkdir_rmdir_error.phpt2 Test mkdir() and rmdir() functions : error conditions
8 Prototype: bool rmdir ( string $dirname [, resource $context] );
17 echo "\n*** Testing rmdir(): error conditions ***\n";
18 var_dump( rmdir() ); // args < expected
19 var_dump( rmdir(1, 2, 3) ); // args > expected
20 var_dump( rmdir("testdir", $context, "test") ); // args > expected
22 echo "\n*** Testing rmdir() on non-existent directory ***\n";
23 var_dump( rmdir("temp") );
41 *** Testing rmdir(): error conditions ***
54 *** Testing rmdir() on non-existent directory ***
[all …]
H A Drmdir_variation1.phpt84 var_dump(rmdir($value));
90 *** Testing rmdir() : usage variation ***
93 Error: 2 - rmdir(): %s, %s(%d)
97 Error: 2 - rmdir(): %s, %s(%d)
101 Error: 2 - rmdir(): %s, %s(%d)
105 Error: 2 - rmdir(): %s, %s(%d)
109 Error: 2 - rmdir(): %s, %s(%d)
113 Error: 2 - rmdir(): %s, %s(%d)
117 Error: 2 - rmdir(): %s, %s(%d)
121 Error: 2 - rmdir(): %s, %s(%d)
[all …]
H A Dmkdir_rmdir_variation2.phpt2 Test mkdir() and rmdir() functions: usage variations - misc.
31 var_dump( rmdir("$file_path/mkdir_variation2/test/", $context) );
33 echo "\n*** Testing rmdir() on a non-empty directory ***\n";
35 var_dump( rmdir("$file_path/mkdir_variation2/") );
37 echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
39 var_dump( rmdir("$file_path/temp".chr(0)."/") );
52 rmdir(dirname(__FILE__)."/mkdir_variation2/test/");
53 rmdir(dirname(__FILE__)."/mkdir_variation2/");
60 *** Testing rmdir() on a non-empty directory ***
63 Warning: rmdir(%s/mkdir_variation2/): %s on line %d
[all …]
H A Drmdir_variation1-win32.phpt84 var_dump( rmdir($value) );
90 *** Testing rmdir() : usage variation ***
93 Error: 2 - rmdir(): %s, %s(%d)
97 Error: 2 - rmdir(): %s, %s(%d)
101 Error: 2 - rmdir(): %s, %s(%d)
105 Error: 2 - rmdir(): %s, %s(%d)
109 Error: 2 - rmdir(): %s, %s(%d)
113 Error: 2 - rmdir(): %s, %s(%d)
117 Error: 2 - rmdir(): %s, %s(%d)
121 Error: 2 - rmdir(): %s, %s(%d)
[all …]
H A Dmkdir-003.phpt7 var_dump(rmdir("mkdir-003/subdir"));
8 var_dump(rmdir("mkdir-003"));
11 var_dump(rmdir("./mkdir-003/subdir"));
12 var_dump(rmdir("./mkdir-003"));
15 var_dump(rmdir(dirname(__FILE__)."/mkdir-003/subdir"));
16 var_dump(rmdir(dirname(__FILE__)."/mkdir-003"));
H A Dmkdir-001.phpt8 var_dump(rmdir("mkdir-001/subdir"));
9 var_dump(rmdir("mkdir-001"));
13 var_dump(rmdir("./mkdir-001/subdir"));
14 var_dump(rmdir("./mkdir-001"));
18 var_dump(rmdir(dirname(__FILE__)."/mkdir-001/subdir"));
19 var_dump(rmdir(dirname(__FILE__)."/mkdir-001"));
H A Drmdir_variation3.phpt2 Test rmdir() function : variation: various valid and invalid paths
7 /* Prototype : bool rmdir(string dirname[, resource context])
13 echo "*** Testing rmdir() : variation ***\n";
52 $res = rmdir($dir);
57 rmdir($workDir.'/'.$subDir);
61 rmdir($workDir);
66 *** Testing rmdir() : variation ***
75 Warning: rmdir(rmdirVar3.tmp/../BADDIR/aSubDir): No such file or directory in %s on line %d
78 Warning: rmdir(BADDIR/aSubDir): No such file or directory in %s on line %d
87 Warning: rmdir(%s/BADDIR/aSubDir): No such file or directory in %s on line %d
H A Dmkdir-006.phpt14 rmdir("./tmp/foo/bar/logs");
15 rmdir("./tmp/foo/bar/");
16 rmdir("./tmp/foo/");
17 rmdir("./tmp/");
H A Dmkdir-002.phpt15 var_dump(rmdir("mkdir-002/subdir"));
16 var_dump(rmdir("mkdir-002"));
21 var_dump(rmdir("./mkdir-002/subdir"));
22 var_dump(rmdir("./mkdir-002"));
28 var_dump(rmdir(dirname(__FILE__)."/mkdir-002/subdir"));
29 var_dump(rmdir(dirname(__FILE__)."/mkdir-002"));
H A Drmdir_variation3-win32.phpt2 Test rmdir() function : variation: various valid and invalid paths
12 /* Prototype : bool rmdir(string dirname[, resource context])
18 echo "*** Testing rmdir() : variation ***\n";
62 $res = rmdir($dir);
67 rmdir($workDir.'/'.$subDir);
71 rmdir($workDir);
76 *** Testing rmdir() : variation ***
85 Warning: rmdir(rmdirVar3.tmp\..\BADDIR\aSubDir): No such file or directory in %s on line %d
88 Warning: rmdir(BADDIR\aSubDir): No such file or directory in %s on line %d
97 Warning: rmdir(%s\BADDIR\aSubDir): No such file or directory in %s on line %d
H A Dmkdir-004.phpt9 rmdir("testtmpskipifdir");
15 var_dump(rmdir("/testdir/subdir"));
16 var_dump(rmdir("/testdir"));
H A Dmkdir-005.phpt9 rmdir("testtmpskipifdir");
16 var_dump(rmdir("./testdir/subdir"));
17 var_dump(rmdir("./testdir"));
H A Dclearstatcache_001.phpt12 @rmdir(__FILE__ . "_dir1");
13 @rmdir(__FILE__ . "_dir2");
33 @rmdir(__FILE__ . "_dir1");
34 @rmdir(__FILE__ . "_dir2");
/PHP-7.0/ext/phar/tests/
H A Dphar_extract2.phpt45 @rmdir($dir . 'subdir/ectory');
46 @rmdir($dir . 'subdir');
47 @rmdir($dir . 'one/level');
48 @rmdir($dir . 'one');
49 @rmdir($dir);
51 @rmdir($dir);
H A Dphar_extract.phpt111 @rmdir($e . 'subdir/ectory');
112 @rmdir($e . 'subdir');
113 @rmdir($e . 'one/level');
114 @rmdir($e . 'one');
115 @rmdir($e);
119 @rmdir($e . 'subdir/ectory');
120 @rmdir($e . 'subdir');
121 @rmdir($e);
124 @rmdir($e . 'one/level');
125 @rmdir($e . 'one');
[all …]
H A Dmkdir.phpt2 phar: mkdir/rmdir edge cases
17 rmdir('phar://');
18 rmdir('phar://foo.phar');
19 rmdir($pname . '/a');
41 Warning: rmdir(): phar error: cannot remove directory "phar://", no phar archive specified, or phar…
43 Warning: rmdir(): phar error: cannot remove directory "" in phar "foo.phar", directory does not exi…
45 Warning: rmdir(): phar error: cannot remove directory "a" in phar "%smkdir.phar.php", phar error: p…
H A Drmdir.phpt2 Phar: rmdir test
22 var_dump(rmdir($pname . '/a'));
25 var_dump(rmdir($pname . '/a'));
32 Warning: rmdir(): phar error: Directory not empty in %srmdir.php on line 14
H A Ddir.phpt2 Phar: mkdir/rmdir test
25 rmdir($pname . '/another/dir/');
44 rmdir('phar://');
45 rmdir('phar://' . dirname(__FILE__) . '/unknown.phar/hi');
47 rmdir($pname . '/another/dir');
49 rmdir($pname);
50 rmdir($pname . '/');
83 Warning: rmdir(): phar error: cannot remove directory "hi" in phar "%sunknown.phar", directory does…
85 Warning: rmdir(): phar error: cannot rmdir directory "phar://%sdir.phar.php/another/dir", write ope…
87 Warning: rmdir(): phar error: cannot remove directory "" in phar "%sdir.phar.php", directory does n…
[all …]
/PHP-7.0/ext/standard/tests/file/windows_links/
H A Dbug48746.phpt43 rmdir(__DIR__ . "\\mnt\\test\\directory");
44 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
45 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
46 rmdir(__DIR__ . "\\mnt\\test");
47 rmdir(__DIR__ . "\\mnt");
H A Dbug48746_2.phpt41 rmdir(__DIR__ . "\\mnt\\test\\directory");
42 rmdir(__DIR__ . "\\mnt\\test\\mklink_junction");
43 rmdir(__DIR__ . "\\mnt\\test\\mounted_volume");
44 rmdir(__DIR__ . "\\mnt\\test");
45 rmdir(__DIR__ . "\\mnt");
H A Dbug48746_3.phpt35 rmdir(__DIR__ . "\\mnt\\test\\directory");
36 rmdir(__DIR__ . "\\mnt\\test\\junction");
37 rmdir(__DIR__ . "\\mnt\\test");
38 rmdir(__DIR__ . "\\mnt");
/PHP-7.0/ext/phar/tests/zip/
H A Drmdir.phpt2 Phar: rmdir test zip-based
25 var_dump(rmdir($alias . '/a'));
28 var_dump(rmdir($alias . '/a'));
35 Warning: rmdir(): phar error: Directory not empty in %srmdir.php on line %d
/PHP-7.0/ext/phar/tests/tar/
H A Drmdir.phpt2 Phar: rmdir test tar-based
33 var_dump(rmdir($alias . '/a'));
36 var_dump(rmdir($alias . '/a'));
43 Warning: rmdir(): phar error: Directory not empty in %srmdir.php on line %d

Completed in 23 milliseconds

12345678910>>...14