Searched refs:chdir (Results 1 – 25 of 199) sorted by relevance
12345678
8 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 …]
7 chdir(__DIR__ . "/bug76359");9 chdir("..");10 chdir("..");15 Warning: chdir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
14 chdir(__DIR__);20 chdir($initdir);26 chdir($initdir."/test/ok");44 chdir(__DIR__);
6 * Test chdir() with variations of relative paths24 var_dump(chdir($base_dir_path));25 var_dump(chdir("./$level2_one_dir_name"));29 var_dump(chdir($base_dir_path));34 var_dump(chdir('..'));38 var_dump(chdir($level2_two_dir_path));39 var_dump(chdir('.'));43 var_dump(chdir('../'));47 var_dump(chdir($level2_two_dir_path));48 var_dump(chdir('./'));[all …]
2 Test chdir() function : basic functionality6 * Test basic functionality of chdir() with absolute and relative paths9 echo "*** Testing chdir() : basic functionality ***\n";22 echo "\n-- Testing chdir() with absolute path: --\n";23 chdir($base_dir_path);24 var_dump(chdir($level1_one_dir_path));27 echo "\n-- Testing chdir() with relative paths: --\n";28 var_dump(chdir($level1_two_dir_name));38 *** Testing chdir() : basic functionality ***40 -- Testing chdir() with absolute path: --[all …]
2 Test chdir() function : basic functionality15 echo "*** Testing chdir() : basic functionality ***\n";29 echo "\n-- Testing chdir() with absolute path: --\n";30 chdir($base_dir_path);31 var_dump(chdir($level_one_dir_path));34 echo "\n-- Testing chdir() with relative paths: --\n";35 var_dump(chdir($level_two_dir_name));41 chdir(__DIR__);47 *** Testing chdir() : basic functionality ***49 -- Testing chdir() with absolute path: --[all …]
12 * Test chdir() with variations of relative paths31 var_dump(chdir($base_dir_path));32 var_dump(chdir("./$level_one_dir_name"));36 var_dump(chdir($base_dir_path));41 var_dump(chdir('..'));45 var_dump(chdir($level_two_dir_path));46 var_dump(chdir('.'));50 var_dump(chdir('../'));54 var_dump(chdir($level_two_dir_path));55 var_dump(chdir('./'));[all …]
2 Test chdir() function : error conditions - Non-existent directory6 * Pass a directory that does not exist as $directory to chdir() to test behaviour9 echo "*** Testing chdir() : error conditions ***\n";13 var_dump(chdir($directory));16 *** Testing chdir() : error conditions ***18 Warning: chdir(): %s (errno %d) in %s on line %d
2 Test chdir() function : error conditions - Non-existent directory12 * Pass a directory that does not exist as $directory to chdir() to test behaviour15 echo "*** Testing chdir() : error conditions ***\n";19 var_dump(chdir($directory));22 *** Testing chdir() : error conditions ***24 Warning: chdir(): %s (errno %d) in %s on line %d
27 var_dump(chdir($base_dir_path));31 var_dump(chdir($base_dir_path));35 var_dump(chdir($level_two_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));
33 var_dump(chdir($base_dir_path));37 var_dump(chdir($base_dir_path));41 var_dump(chdir($level_two_dir_path));45 var_dump(chdir($level_two_dir_path));49 var_dump(chdir($level_two_dir_path));53 var_dump(chdir($level_two_dir_path));57 var_dump(chdir($level_two_dir_path));
25 var_dump(chdir($base_dir_path));30 var_dump(chdir($base_dir_path));39 var_dump(chdir($level_two_dir_path));48 var_dump(chdir($level_two_dir_path));53 var_dump(chdir($level_two_dir_path));
31 var_dump(chdir($base_dir_path));36 var_dump(chdir($base_dir_path));45 var_dump(chdir($level_two_dir_path));54 var_dump(chdir($level_two_dir_path));59 var_dump(chdir($level_two_dir_path));
2 Test chdir()/getcwd() with a dir for multibyte filenames31 var_dump(chdir($dirw));38 chdir($oldcwd);
13 chdir($script_directory);30 chdir($test_dirname);32 chdir($script_directory);34 chdir($script_directory);
2 Bug #45181 (chdir() should clear relative entries in stat cache)7 chdir("bug45181_x");
13 chdir($script_directory);36 chdir($test_dirname);38 chdir($script_directory);40 chdir($script_directory);
6 chdir(__DIR__);14 chdir($old_dir_path);
5 chdir("/");14 chdir("/");
15 chdir($script_directory);37 chdir($test_dirname);42 chdir($script_directory);50 chdir($script_directory);
8 chdir(__DIR__);23 chdir($oldcwd);
4 chdir($thisTestDir);26 chdir($workingDir);
2 Bug #61546 (functions related to current script failed when chdir() in cli sapi)17 chdir('..');19 chdir('..');
Completed in 18 milliseconds