Home
last modified time | relevance | path

Searched refs:chdir (Results 1 – 25 of 164) sorted by relevance

1234567

/PHP-5.3/tests/security/
H A Dopen_basedir_chdir.phpt8 test_open_basedir_before("chdir");
10 var_dump(chdir("../bad"));
11 var_dump(chdir(".."));
12 var_dump(chdir("../"));
13 var_dump(chdir("/"));
14 var_dump(chdir("../bad/."));
15 var_dump(chdir("./../."));
17 test_open_basedir_after("chdir");
25 *** Testing open_basedir configuration [chdir] ***
35 Warning: chdir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
[all …]
/PHP-5.3/ext/standard/tests/dir/
H A Dchdir_error1.phpt2 Test chdir() function : error conditions - Incorrect number of arguments
5 /* Prototype : bool chdir(string $directory)
11 * Pass incorrect number of arguments to chdir() to test behaviour
14 echo "*** Testing chdir() : error conditions ***\n";
17 echo "\n-- Testing chdir() function with Zero arguments --\n";
18 var_dump( chdir() );
20 //Test chdir with one more than the expected number of arguments
24 var_dump( chdir($directory, $extra_arg) );
28 *** Testing chdir() : error conditions ***
30 -- Testing chdir() function with Zero arguments --
[all …]
H A Dchdir_variation2.phpt5 /* Prototype : bool chdir(string $directory)
29 var_dump(chdir($base_dir_path));
30 var_dump(chdir("./$level_one_dir_name"));
34 var_dump(chdir($base_dir_path));
39 var_dump(chdir('..'));
43 var_dump(chdir($level_two_dir_path));
44 var_dump(chdir('.'));
48 var_dump(chdir('../'));
52 var_dump(chdir($level_two_dir_path));
53 var_dump(chdir('./'));
[all …]
H A Dchdir_basic.phpt2 Test chdir() function : basic functionality
5 /* Prototype : bool chdir(string $directory)
14 echo "*** Testing chdir() : basic functionality ***\n";
27 echo "\n-- Testing chdir() with absolute path: --\n";
28 chdir($base_dir_path);
29 var_dump(chdir($level_one_dir_path));
32 echo "\n-- Testing chdir() with relative paths: --\n";
33 var_dump(chdir($level_two_dir_name));
44 *** Testing chdir() : basic functionality ***
46 -- Testing chdir() with absolute path: --
[all …]
H A Dchdir_variation1.phpt5 /* Prototype : bool chdir(string $directory)
14 echo "*** Testing chdir() : usage variations ***\n";
99 var_dump( chdir($input) );
115 *** Testing chdir() : usage variations ***
119 Warning: chdir(): %s (errno %d) in %s on line %d
124 Warning: chdir(): %s (errno %d) in %s on line %d
129 Warning: chdir(): %s (errno %d) in %s on line %d
134 Warning: chdir(): %s (errno %d) in %s on line %d
139 Warning: chdir(): %s (errno %d) in %s on line %d
144 Warning: chdir(): %s (errno %d) in %s on line %d
[all …]
H A Dchdir_error2.phpt2 Test chdir() function : error conditions - Non-existent directory
5 /* Prototype : bool chdir(string $directory)
11 * Pass a directory that does not exist as $directory to chdir() to test behaviour
14 echo "*** Testing chdir() : error conditions ***\n";
18 var_dump(chdir($directory));
22 *** Testing chdir() : error conditions ***
24 Warning: chdir(): %s (errno %d) in %s on line %d
H A Dscandir_variation4.phpt31 var_dump(chdir($base_dir_path));
35 var_dump(chdir($base_dir_path));
39 var_dump(chdir($level_two_dir_path));
43 var_dump(chdir($level_two_dir_path));
47 var_dump(chdir($level_two_dir_path));
51 var_dump(chdir($level_two_dir_path));
55 var_dump(chdir($level_two_dir_path));
H A Dopendir_variation4.phpt29 var_dump(chdir($base_dir_path));
34 var_dump(chdir($base_dir_path));
43 var_dump(chdir($level_two_dir_path));
52 var_dump(chdir($level_two_dir_path));
57 var_dump(chdir($level_two_dir_path));
/PHP-5.3/ext/standard/tests/file/
H A Dfile_variation5-win32.phpt13 chdir($script_directory);
30 chdir($test_dirname);
32 chdir($script_directory);
34 chdir($script_directory);
H A Dbug45181.phpt2 Bug #45181 (chdir() should clear relative entries in stat cache)
7 chdir("bug45181_x");
H A Dfile_variation5.phpt13 chdir($script_directory);
36 chdir($test_dirname);
38 chdir($script_directory);
40 chdir($script_directory);
H A Dchmod_variation2-win32.phpt15 chdir($script_directory);
37 chdir($test_dirname);
42 chdir($script_directory);
50 chdir($script_directory);
H A Dmkdir-005.phpt5 chdir("/");
14 chdir("/");
H A Dchmod_variation2.phpt15 chdir($script_directory);
46 chdir($test_dirname);
51 chdir($script_directory);
59 chdir($script_directory);
H A Dbug24482.phpt13 chdir(__DIR__); // ensure in ext/standard/tests/file
14 chdir('..'); // move up to ext/standard/tests
H A Dfile_put_contents_variation5.phpt11 chdir($thisTestDir);
27 chdir(dirname(__FILE__));
H A Dglob_variation2.phpt23 chdir("$file_path/$dir_name");
27 chdir("$file_path");
H A Dreadfile_variation6.phpt21 chdir($thisTestDir);
31 chdir("..");
H A Dreadfile_variation7.phpt21 chdir($thisTestDir);
31 chdir("..");
/PHP-5.3/Zend/tests/
H A Dbug39542.phpt6 chdir(dirname(__FILE__));
21 chdir($oldcwd);
/PHP-5.3/ext/zlib/tests/
H A Dreading_include_path.inc4 chdir($thisTestDir);
26 chdir($workingDir);
/PHP-5.3/sapi/cli/tests/
H A Dbug61546.phpt2 Bug #61546 (functions related to current script failed when chdir() in cli sapi)
17 chdir('..');
19 chdir('..');
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_unix.c180 if (wp->config->chdir && *wp->config->chdir) { in fpm_unix_init_child()
181 if (0 > chdir(wp->config->chdir)) { in fpm_unix_init_child()
182 zlog(ZLOG_SYSERROR, "[pool %s] failed to chdir(%s)", wp->config->name, wp->config->chdir); in fpm_unix_init_child()
186 chdir("/"); in fpm_unix_init_child()
/PHP-5.3/ext/session/tests/
H A Dsession_save_path_variation5.phpt28 chdir($directory);
36 var_dump(chdir($sessions));
/PHP-5.3/ext/standard/tests/file/windows_links/
H A Dbug48746_3.phpt25 chdir(__DIR__ . "\\mnt\\test");
34 chdir($old_dir);

Completed in 1127 milliseconds

1234567