Home
last modified time | relevance | path

Searched refs:old_cwd (Results 1 – 6 of 6) sorted by relevance

/PHP-7.4/ext/standard/tests/file/
H A Drealpath_bug77484.phpt16 $old_cwd = getcwd();
32 var_dump($old_cwd, $new_cwd, $rp0, $rp1, $rp2);
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dbug54028_2.phpt28 $old_cwd = getcwd();
35 chdir($old_cwd);
H A Dbug75063_utf8.phpt28 $old_cwd = getcwd();
52 chdir($old_cwd);
H A Dbug75063_cp1251.phpt30 $old_cwd = getcwd();
54 chdir($old_cwd);
/PHP-7.4/main/
H A Dmain.c2595 char *old_cwd; in php_execute_script() local
2603 old_cwd = do_alloca(OLD_CWD_SIZE, use_heap); in php_execute_script()
2604 old_cwd[0] = '\0'; in php_execute_script()
2690 if (old_cwd[0] != '\0') { in php_execute_script()
2691 php_ignore_value(VCWD_CHDIR(old_cwd)); in php_execute_script()
2693 free_alloca(old_cwd, use_heap); in php_execute_script()
2703 char *old_cwd; in php_execute_simple_script() local
2709 old_cwd[0] = '\0'; in php_execute_simple_script()
2727 if (old_cwd[0] != '\0') { in php_execute_simple_script()
2728 php_ignore_value(VCWD_CHDIR(old_cwd)); in php_execute_simple_script()
[all …]
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c2215 char *old_cwd; in php_cli_server_dispatch_router() local
2218 old_cwd = do_alloca(MAXPATHLEN, use_heap); in php_cli_server_dispatch_router()
2219 old_cwd[0] = '\0'; in php_cli_server_dispatch_router()
2220 php_ignore_value(VCWD_GETCWD(old_cwd, MAXPATHLEN - 1)); in php_cli_server_dispatch_router()
2238 if (old_cwd[0] != '\0') { in php_cli_server_dispatch_router()
2239 php_ignore_value(VCWD_CHDIR(old_cwd)); in php_cli_server_dispatch_router()
2242 free_alloca(old_cwd, use_heap); in php_cli_server_dispatch_router()

Completed in 24 milliseconds