Home
last modified time | relevance | path

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

12345678

/PHP-7.4/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 …]
H A Dbug76359.phpt7 chdir(__DIR__ . "/bug76359");
9 chdir("..");
10 chdir("..");
15 Warning: chdir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
H A Dopen_basedir_linkinfo.phpt14 chdir(__DIR__);
20 chdir($initdir);
26 chdir($initdir."/test/ok");
44 chdir(__DIR__);
/PHP-7.4/ext/standard/tests/dir/
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($level1_one_dir_path));
32 echo "\n-- Testing chdir() with relative paths: --\n";
33 var_dump(chdir($level1_two_dir_name));
44 *** Testing chdir() : basic functionality ***
46 -- Testing chdir() with absolute path: --
[all …]
H A Dchdir_variation2.phpt5 /* Prototype : bool chdir(string $directory)
29 var_dump(chdir($base_dir_path));
30 var_dump(chdir("./$level2_one_dir_name"));
34 var_dump(chdir($base_dir_path));
39 var_dump(chdir('..'));
43 var_dump(chdir($level2_two_dir_path));
44 var_dump(chdir('.'));
48 var_dump(chdir('../'));
52 var_dump(chdir($level2_two_dir_path));
53 var_dump(chdir('./'));
[all …]
H A Dchdir_basic-win32-mb.phpt2 Test chdir() function : basic functionality
11 /* Prototype : bool chdir(string $directory)
20 echo "*** Testing chdir() : basic functionality ***\n";
34 echo "\n-- Testing chdir() with absolute path: --\n";
35 chdir($base_dir_path);
36 var_dump(chdir($level_one_dir_path));
40 var_dump(chdir($level_two_dir_name));
47 chdir(__DIR__);
53 *** Testing chdir() : basic functionality ***
55 -- Testing chdir() with absolute path: --
[all …]
H A Dchdir_variation2-win32-mb.phpt11 /* Prototype : bool chdir(string $directory)
36 var_dump(chdir($base_dir_path));
37 var_dump(chdir("./$level_one_dir_name"));
41 var_dump(chdir($base_dir_path));
46 var_dump(chdir('..'));
50 var_dump(chdir($level_two_dir_path));
51 var_dump(chdir('.'));
55 var_dump(chdir('../'));
59 var_dump(chdir($level_two_dir_path));
60 var_dump(chdir('./'));
[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 Dchdir_error2-win32-mb.phpt2 Test chdir() function : error conditions - Non-existent directory
11 /* Prototype : bool chdir(string $directory)
17 * Pass a directory that does not exist as $directory to chdir() to test behaviour
20 echo "*** Testing chdir() : error conditions ***\n";
24 var_dump(chdir($directory));
28 *** Testing chdir() : error conditions ***
30 Warning: chdir(): %s (errno %d) in %s on line %d
H A Dscandir_variation4-win32-mb.phpt38 var_dump(chdir($base_dir_path));
42 var_dump(chdir($base_dir_path));
46 var_dump(chdir($level_two_dir_path));
50 var_dump(chdir($level_two_dir_path));
54 var_dump(chdir($level_two_dir_path));
58 var_dump(chdir($level_two_dir_path));
62 var_dump(chdir($level_two_dir_path));
H A Dscandir_variation4.phpt32 var_dump(chdir($base_dir_path));
36 var_dump(chdir($base_dir_path));
40 var_dump(chdir($level_two_dir_path));
44 var_dump(chdir($level_two_dir_path));
48 var_dump(chdir($level_two_dir_path));
52 var_dump(chdir($level_two_dir_path));
56 var_dump(chdir($level_two_dir_path));
H A Dopendir_variation4.phpt30 var_dump(chdir($base_dir_path));
35 var_dump(chdir($base_dir_path));
44 var_dump(chdir($level_two_dir_path));
53 var_dump(chdir($level_two_dir_path));
58 var_dump(chdir($level_two_dir_path));
H A Dopendir_variation4-win32-mb.phpt36 var_dump(chdir($base_dir_path));
41 var_dump(chdir($base_dir_path));
50 var_dump(chdir($level_two_dir_path));
59 var_dump(chdir($level_two_dir_path));
64 var_dump(chdir($level_two_dir_path));
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_cwd_mb_names.phpt2 Test chdir()/getcwd() with a dir for multibyte filenames
31 var_dump(chdir($dirw));
38 chdir($oldcwd);
/PHP-7.4/ext/standard/tests/file/
H A Dfile_variation5-win32-mb.phpt13 chdir($script_directory);
30 chdir($test_dirname);
32 chdir($script_directory);
34 chdir($script_directory);
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 Dbug55124.phpt6 chdir(__DIR__);
14 chdir($old_dir_path);
H A Dfile_variation5.phpt13 chdir($script_directory);
36 chdir($test_dirname);
38 chdir($script_directory);
40 chdir($script_directory);
H A Dmkdir-005.phpt5 chdir("/");
14 chdir("/");
H A Dchmod_variation2-win32-mb.phpt15 chdir($script_directory);
37 chdir($test_dirname);
42 chdir($script_directory);
50 chdir($script_directory);
H A Dchmod_variation2-win32.phpt15 chdir($script_directory);
37 chdir($test_dirname);
42 chdir($script_directory);
50 chdir($script_directory);
/PHP-7.4/Zend/tests/
H A Dbug39542.phpt6 chdir(__DIR__);
21 chdir($oldcwd);
/PHP-7.4/ext/zlib/tests/
H A Dreading_include_path.inc4 chdir($thisTestDir);
26 chdir($workingDir);
/PHP-7.4/sapi/cli/tests/
H A Dbug61546.phpt2 Bug #61546 (functions related to current script failed when chdir() in cli sapi)
17 chdir('..');
19 chdir('..');

Completed in 32 milliseconds

12345678