Home
last modified time | relevance | path

Searched refs:mkdir (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/PHP-5.3/tests/security/
H A Dopen_basedir_mkdir.phpt15 test_open_basedir_before("mkdir");
17 var_dump(mkdir("../bad/blah"));
18 var_dump(mkdir("../blah"));
19 var_dump(mkdir("../bad/./blah"));
20 var_dump(mkdir("./.././blah"));
22 var_dump(mkdir($initdir."/test/ok/blah"));
24 test_open_basedir_after("mkdir");
32 *** Testing open_basedir configuration [mkdir] ***
39 Warning: mkdir(): open_basedir restriction in effect. File(../bad/blah) is not within the allowed p…
42 Warning: mkdir(): open_basedir restriction in effect. File(../blah) is not within the allowed path(…
[all …]
H A Dopen_basedir_glob_variation.phpt9 mkdir($dir);
10 mkdir($dir2);
/PHP-5.3/ext/standard/tests/file/
H A Dmkdir_variation4.phpt2 Test mkdir() function : usage variation: different types for context
13 echo "*** Testing mkdir() : usage variation ***\n";
116 $h = mkdir($pathname, $mode, $recursive, $value);
128 *** Testing mkdir() : usage variation ***
158 Error: 2 - mkdir() expects parameter 4 to be resource, array given, %s(%d)
161 Error: 2 - mkdir() expects parameter 4 to be resource, array given, %s(%d)
164 Error: 2 - mkdir() expects parameter 4 to be resource, array given, %s(%d)
170 Error: 2 - mkdir() expects parameter 4 to be resource, null given, %s(%d)
173 Error: 2 - mkdir() expects parameter 4 to be resource, null given, %s(%d)
212 Error: 2 - mkdir() expects parameter 4 to be resource, null given, %s(%d)
[all …]
H A Dmkdir_rmdir_variation2.phpt2 Test mkdir() and rmdir() functions: usage variations - misc.
30 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true, $context) );
34 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true) );
37 echo "\n*** Testing mkdir() and rmdir() for binary safe functionality ***\n";
38 var_dump( mkdir("$file_path/temp".chr(0)."/") );
41 echo "\n*** Testing mkdir() with miscelleneous input ***\n";
42 /* changing mode of mkdir to prevent creating sub-directory under it */
44 /* creating sub-directory test1 under mkdir, expected: false */
45 var_dump( mkdir("$file_path/mkdir_variation2/test1", 0777, true) );
66 *** Testing mkdir() and rmdir() for binary safe functionality ***
[all …]
H A Dmkdir_variation1-win32.phpt84 $res = mkdir($value);
94 *** Testing mkdir() : usage variation ***
97 Error: 2 - mkdir(): %s, %s(%d)
100 Error: 2 - mkdir(): %s, %s(%d)
103 Error: 2 - mkdir(): %s, %s(%d)
106 Error: 2 - mkdir(): %s, %s(%d)
109 Error: 2 - mkdir(): %s, %s(%d)
112 Error: 2 - mkdir(): %s, %s(%d)
115 Error: 2 - mkdir(): %s, %s(%d)
118 Error: 2 - mkdir(): %s, %s(%d)
[all …]
H A Dmkdir-001.phpt2 mkdir() tests
6 var_dump(mkdir("testdir"));
7 var_dump(mkdir("testdir/subdir"));
11 var_dump(mkdir("./testdir"));
12 var_dump(mkdir("./testdir/subdir"));
16 var_dump(mkdir(dirname(__FILE__)."/testdir"));
17 var_dump(mkdir(dirname(__FILE__)."/testdir/subdir"));
H A Dmkdir_variation1.phpt18 echo "*** Testing mkdir() : usage variation ***\n";
83 $res = mkdir($value);
93 *** Testing mkdir() : usage variation ***
96 Error: 2 - mkdir(): %s, %s(%d)
99 Error: 2 - mkdir(): %s, %s(%d)
102 Error: 2 - mkdir(): %s, %s(%d)
105 Error: 2 - mkdir(): %s, %s(%d)
108 Error: 2 - mkdir(): %s, %s(%d)
111 Error: 2 - mkdir(): %s, %s(%d)
114 Error: 2 - mkdir(): %s, %s(%d)
[all …]
H A Dmkdir_rmdir_error.phpt2 Test mkdir() and rmdir() functions : error conditions
5 /* Prototype: bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context]]…
12 echo "*** Testing mkdir(): error conditions ***\n";
13 var_dump( mkdir() ); // args < expected
14 var_dump( mkdir(1, 2, 3, 4, 5) ); // args > expected
15 var_dump( mkdir("testdir", 0777, false, $context, "test") ); // args > expected
28 *** Testing mkdir(): error conditions ***
30 Warning: mkdir() expects at least 1 parameter, 0 given in %s on line %d
33 Warning: mkdir() expects at most 4 parameters, 5 given in %s on line %d
38 Warning: mkdir() expects at most 4 parameters, 5 given in %s on line %d
H A Dmkdir-002.phpt2 mkdir(dir, 0777) tests
12 var_dump(mkdir("testdir", 0777));
13 var_dump(mkdir("testdir/subdir", 0777));
18 var_dump(mkdir("./testdir", 0777));
19 var_dump(mkdir("./testdir/subdir", 0777));
24 var_dump(mkdir(dirname(__FILE__)."/testdir", 0777));
25 var_dump(mkdir(dirname(__FILE__)."/testdir/subdir", 0777));
H A Dmkdir_variation2.phpt2 Test mkdir() function : usage variation: different types for mode
13 echo "*** Testing mkdir() : usage variation ***\n";
103 $h = mkdir($pathname, $value);
113 *** Testing mkdir() : usage variation ***
131 Error: 2 - mkdir() expects parameter 2 to be long, array given, %s(%d)
134 Error: 2 - mkdir() expects parameter 2 to be long, array given, %s(%d)
137 Error: 2 - mkdir() expects parameter 2 to be long, array given, %s(%d)
140 Error: 2 - mkdir() expects parameter 2 to be long, array given, %s(%d)
161 Error: 2 - mkdir() expects parameter 2 to be long, string given, %s(%d)
164 Error: 2 - mkdir() expects parameter 2 to be long, string given, %s(%d)
[all …]
H A Dmkdir_variation5.phpt2 Test mkdir() function : variation: various valid and invalid paths
12 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
18 echo "*** Testing mkdir() : variation ***\n";
22 mkdir($workDir);
56 $res = mkdir($dir);
68 *** Testing mkdir() : variation ***
77 Warning: mkdir(): No such file or directory in %s on line %d
80 Warning: mkdir(): No such file or directory in %s on line %d
89 Warning: mkdir(): No such file or directory in %s on line %d
H A Dmkdir_variation5-win32.phpt2 Test mkdir() function : variation: various valid and invalid paths
12 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
18 echo "*** Testing mkdir() : variation ***\n";
22 mkdir($workDir);
61 $res = mkdir($dir);
73 *** Testing mkdir() : variation ***
82 Warning: mkdir(): No such file or directory in %s on line %d
85 Warning: mkdir(): No such file or directory in %s on line %d
94 Warning: mkdir(): No such file or directory in %s on line %d
H A Dmkdir-003.phpt2 recursive mkdir() tests
6 var_dump(mkdir("testdir/subdir", 0777, true));
10 var_dump(mkdir("./testdir/subdir", 0777, true));
14 var_dump(mkdir(dirname(__FILE__)."/testdir/subdir", 0777, true));
H A Dmkdir_variation3.phpt2 Test mkdir() function : usage variation: different types for recursive
7 /* Prototype : bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
13 echo "*** Testing mkdir() : usage variation ***\n";
110 $h = mkdir($pathname, $mode, $value);
120 *** Testing mkdir() : usage variation ***
150 Error: 2 - mkdir() expects parameter 3 to be boolean, array given, %s(%d)
153 Error: 2 - mkdir() expects parameter 3 to be boolean, array given, %s(%d)
156 Error: 2 - mkdir() expects parameter 3 to be boolean, array given, %s(%d)
159 Error: 2 - mkdir() expects parameter 3 to be boolean, array given, %s(%d)
198 Error: 2 - mkdir() expects parameter 3 to be boolean, object given, %s(%d)
[all …]
H A Dmkdir-004.phpt2 recursive mkdir() tests
6 if (!@mkdir("testtmpskipifdir")) {
14 var_dump(mkdir("/testdir/subdir", 0777, true));
H A Dmkdir-005.phpt2 recursive mkdir() tests
6 if (!@mkdir("testtmpskipifdir")) {
15 var_dump(mkdir("./testdir/subdir", 0777, true));
H A Dmkdir-006.phpt2 recursive mkdir() with unclean paths
7 mkdir($dirpath, 0777, true);
H A Dchroot_001.phpt6 if (!@mkdir("testtmpskipifdir")) {
16 mkdir("chroot_001_x");
H A Dfopen_variation16.phpt16 mkdir($thisTestDir);
37 mkdir($dir1.'/'.$extraDir);
38 mkdir($extraDir);
/PHP-5.3/ext/phar/tests/
H A Ddir.phpt2 Phar: mkdir/rmdir test
23 mkdir($pname . '/another/dir/');
32 mkdir($pname . '/fails');
34 // create new phar by mkdir
35 mkdir('phar://' . dirname(__FILE__) . '/ok.phar/fails');
36 mkdir('phar://' . dirname(__FILE__) . '/ok.phar/fails');
38 mkdir('phar://' . dirname(__FILE__) . '/ok.phar/sub');
39 mkdir('phar://' . dirname(__FILE__) . '/ok.phar/sub/directory.txt');
41 mkdir('phar://' . dirname(__FILE__) . '/oops.phar/fails');
43 mkdir('phar://');
[all …]
H A Dmkdir.phpt2 phar: mkdir/rmdir edge cases
12 mkdir('phar://');
13 mkdir('phar://foo.phar');
16 mkdir($pname . '/a');
35 Warning: mkdir(): phar error: cannot create directory "phar://", no phar archive specified in %smkd…
37 Warning: mkdir(): phar error: cannot create directory "" in phar "foo.phar", phar error: invalid pa…
39 Warning: mkdir(): phar error: cannot create directory "a" in phar "%smkdir.phar.php", phar error: p…
/PHP-5.3/ext/zlib/tests/
H A Dreading_include_path.inc3 mkdir($thisTestDir);
22 mkdir($newdir);
25 mkdir($workingDir);
/PHP-5.3/win32/build/
H A Dmkdist.php20 @mkdir($dist_dir);
21 @mkdir("$dist_dir/ext");
22 @mkdir("$dist_dir/dev");
23 @mkdir("$dist_dir/extras");
24 @mkdir($pecl_dir);
356 if (!mkdir($dest)) {
387 mkdir($dest . '/tests', 0775, true);
406 mkdir($dest . '/' . $full_path , 0775, true);
450 mkdir($test_dir);
470 mkdir("$dist_dir/PEAR");
[all …]
/PHP-5.3/ext/dba/
H A Dinstall_cdb.sh28 if mkdir -p "$prefix/include" "$prefix/lib"; then
35 mkdir -p tmp || exit 1
/PHP-5.3/ext/standard/tests/streams/
H A Dstream_resolve_include_path.phpt11 mkdir($include_path);
12 mkdir($include_path_nested);

Completed in 30 milliseconds

12345678910>>...14