/PHP-7.3/sapi/litespeed/ |
H A D | lsapi_main.c | 561 char *path, *server_name; in sapi_lsapi_activate() local 595 path[path_len] = 0; in sapi_lsapi_activate() 600 efree(path); in sapi_lsapi_activate() 865 int len = (int)strlen(path); in pathlen_without_trailing_slash() 929 char *path; member 950 if (!ctx->path || !*ctx->path) { in lsapi_activate_user_ini_basic_checks() 967 char *path; in lsapi_activate_user_ini_mk_path() local 972 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_path() 973 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path() 980 efree(path); in lsapi_activate_user_ini_mk_path() [all …]
|
/PHP-7.3/ext/session/tests/ |
H A D | session_save_path_variation1.phpt | 16 * Prototype : string session_save_path([string $path]) 17 * Description : Get and/or set the current session save path 47 Warning: session_save_path(): Cannot change save path when session is active in %s on line 20
|
H A D | session_save_path_variation3.phpt | 14 * Prototype : string session_save_path([string $path]) 15 * Description : Get and/or set the current session save path 37 Warning: session_start(): Failed to read session data: files (path: %sblah) in %s on line %d
|
H A D | session_set_cookie_params_variation2.phpt | 4 session.cookie_path=/path 13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo… 37 string(5) "/path"
|
H A D | session_save_path_variation2.phpt | 14 * Prototype : string session_save_path([string $path]) 15 * Description : Get and/or set the current session save path 37 Warning: session_start(): Failed to read session data: files (path: %sblah) in %s on line %d
|
/PHP-7.3/ext/standard/tests/file/windows_mb_path/ |
H A D | test_long_path_mkdir.phpt | 2 Mkdir with path length < 260 and > 248 has be a long path 11 die("skip the starting path length is unsuitable for this test");
|
H A D | test_cp874_0.phpt | 38 $path = dirname(__FILE__) . DIRECTORY_SEPARATOR . $name . ".txt"; 40 file_put_contents($path, "hello" . $i++); 42 get_basename_with_cp($path, 874); 43 var_dump(file_get_contents($path)); 45 unlink($path);
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | userstreams_007.phpt | 6 function stream_open($path, $mode, $openedpath) { 9 public function stream_metadata($path, $option, $var) { 10 echo "metadata: $path, $option\n";
|
H A D | dirname_basic.phpt | 12 /* Prototype : string dirname(string path) 13 * Description: Returns the directory name component of the path 55 foreach ($paths as $path) { 56 var_dump( dirname($path) );
|
H A D | readfile_variation6.phpt | 2 Test readfile() function : variation - test include path 38 fwrite($h, "File in include path"); 49 File in include path
|
/PHP-7.3/ext/standard/tests/streams/ |
H A D | bug60455_03.phpt | 9 function stream_open($path, $mode, $options, &$opened_path) { 11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n"); 12 if ($path == "test://eofafter2nd")
|
H A D | bug77765.phpt | 13 $path = "ftp://localhost:" . $port."/www"; 15 var_dump(stat($path)['mode']);
|
H A D | stream_get_meta_data_file_variation4.phpt | 2 stream_get_meta_data() with a relative file path 14 echo "\nChange to file's directory and open with a relative path:\n"; 51 Change to file's directory and open with a relative path:
|
/PHP-7.3/sapi/fpm/tests/ |
H A D | bug68423-multi-pool-all-pms.phpt | 15 ping.path = /ping 24 ping.path = /ping 31 ping.path = /ping
|
/PHP-7.3/Zend/ |
H A D | zend_extensions.c | 26 int zend_load_extension(const char *path) in zend_load_extension() argument 31 handle = DL_LOAD(path); in zend_load_extension() 34 fprintf(stderr, "Failed loading %s: %s\n", path, DL_ERROR()); in zend_load_extension() 36 fprintf(stderr, "Failed loading %s\n", path); in zend_load_extension() 42 return zend_load_extension_handle(handle, path); in zend_load_extension() 53 int zend_load_extension_handle(DL_HANDLE handle, const char *path) in zend_load_extension_handle() argument 68 fprintf(stderr, "%s doesn't appear to be a valid Zend extension\n", path); in zend_load_extension_handle()
|
/PHP-7.3/ext/standard/ |
H A D | http_fopen_wrapper.c | 160 resource = php_url_parse(path); in php_stream_url_wrap_http_ex() 397 smart_str_appends(&req_buf, path); in php_stream_url_wrap_http_ex() 402 if (resource->path && ZSTR_LEN(resource->path)) { in php_stream_url_wrap_http_ex() 526 size_t scratch_len = strlen(path) + 1; in php_stream_url_wrap_http_ex() 866 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex() 867 if (!ZSTR_LEN(resource->path)) { in php_stream_url_wrap_http_ex() 870 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex() 876 if (resource->path && in php_stream_url_wrap_http_ex() 877 ZSTR_VAL(resource->path)[0] == '/' && in php_stream_url_wrap_http_ex() 878 ZSTR_VAL(resource->path)[1] == '\0') { in php_stream_url_wrap_http_ex() [all …]
|
/PHP-7.3/ext/standard/tests/url/ |
H A D | bug68917.phpt | 13 [path] => /hi 20 [path] => /hi
|
/PHP-7.3/ext/spl/examples/ |
H A D | directorygraphiterator.inc | 19 function __construct($path) 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-7.3/ext/phar/phar/ |
H A D | directorygraphiterator.inc | 19 function __construct($path) 24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-7.3/tests/run-test/ |
H A D | test007.phpt | 10 function check_dirname($path) { 12 $path1 = str_replace("%",$s,$path); 15 print "dirname($path) == $path3\n";
|
/PHP-7.3/tests/security/ |
H A D | open_basedir_file_put_contents.phpt | 32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 37 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 42 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 52 …restriction in effect. File%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
/PHP-7.3/ext/phar/tests/ |
H A D | bug46178.phpt | 13 $phar['long/path/name.txt'] = 'hi'; 14 $phar->addEmptyDir('long/path');
|
/PHP-7.3/ext/zlib/tests/ |
H A D | compress_zlib_wrapper.phpt | 11 // Relative path 15 // Absolute path
|
/PHP-7.3/ext/phar/ |
H A D | util.c | 175 if (phar_path_check(&path, &path_len, &err) > pcr_is_ok) { in phar_mount_entry() 187 entry.filename = estrndup(path, path_len); in phar_mount_entry() 247 char *path, *fname, *arch, *entry, *test; in phar_find_in_include_path() local 312 ret = php_resolve_path(filename, filename_len, path); in phar_find_in_include_path() 313 efree(path); in phar_find_in_include_path() 518 phar_unixify_path_separators(path, path_len); in phar_get_or_create_entry_data() 521 is_dir = (path_len && path[path_len - 1] == '/') ? 1 : 0; in phar_get_or_create_entry_data() 577 phar_add_virtual_dirs(phar, path, path_len); in phar_get_or_create_entry_data() 582 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data() 1217 phar_unixify_path_separators(path, path_len); in phar_get_entry_info_dir() [all …]
|
/PHP-7.3/main/streams/ |
H A D | streams.c | 160 tmp = estrdup(path); in php_stream_display_wrapper_errors() 1749 *path_for_open = (char*)path; 1761 protocol = path; 1798 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/' && path[n+4] != ':') { 1800 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/') { 1959 if (!path || !*path) { 1963 path_to_open = path; 2015 if (!path || !*path) { 2021 resolved_path = zend_resolve_path(path, strlen(path)); 2030 path_to_open = path; [all …]
|