Home
last modified time | relevance | path

Searched refs:realpath (Results 1 – 25 of 99) sorted by last modified time

1234

/PHP-7.4/
H A DNEWS710 . Fixed bug #79806 (realpath() erroneously resolves link to link). (cmb)
2286 . Fixed bug #77317 (__DIR__, __FILE__, realpath() reveal physical path for
2291 . Fixed bug #77484 (Zend engine crashes when calling realpath in invalid
H A Dconfigure.ac628 realpath \
H A Drun-tests.php181 $phpdbg = realpath(dirname($php) . "/phpdbg.exe");
185 $phpdbg = realpath("./sapi/phpdbg/phpdbg");
187 $phpdbg = realpath(dirname($php) . "/phpdbg");
623 $testfile = realpath($argv[$i]);
1071 $testfile = realpath("{$dir}/{$name}");
1186 $testname = realpath($testname);
1187 $logname = realpath($logname);
1986 $temp_dir = $test_dir = realpath(dirname($file));
2201 $IN_REDIRECT['dir'] = realpath(dirname($file));
3514 $dir = dirname(realpath($file_name));
[all …]
H A Dphp.ini-development305 ; Note: disables the realpath cache
335 ; Determines the size of the realpath cache to be used by PHP. This value should
339 ; http://php.net/realpath-cache-size
342 ; Duration of time, in seconds for which to cache realpath information for a given
345 ; http://php.net/realpath-cache-ttl
H A Dphp.ini-production305 ; Note: disables the realpath cache
335 ; Determines the size of the realpath cache to be used by PHP. This value should
339 ; http://php.net/realpath-cache-size
342 ; Duration of time, in seconds for which to cache realpath information for a given
345 ; http://php.net/realpath-cache-ttl
/PHP-7.4/ext/phar/
H A Dphar.c1765 char *realpath; in phar_analyze_path() local
1770 phar_unixify_path_separators(realpath, strlen(realpath)); in phar_analyze_path()
1772 if (zend_hash_str_exists(&(PHAR_G(phar_fname_map)), realpath, strlen(realpath))) { in phar_analyze_path()
1773 efree(realpath); in phar_analyze_path()
1778 if (PHAR_G(manifest_cached) && zend_hash_str_exists(&cached_phars, realpath, strlen(realpath))) { in phar_analyze_path()
1779 efree(realpath); in phar_analyze_path()
1783 efree(realpath); in phar_analyze_path()
1820 phar_unixify_path_separators(realpath, strlen(realpath)); in phar_analyze_path()
1832 efree(realpath); in phar_analyze_path()
1838 efree(realpath); in phar_analyze_path()
[all …]
/PHP-7.4/ext/standard/
H A Dfilestat.c1131 …add_assoc_stringl_ex(&entry, "realpath", sizeof("realpath") - 1, bucket->realpath, bucket->realpat… in PHP_FUNCTION()
H A Dfile.c2346 PHP_FUNCTION(realpath) in PHP_FUNCTION() argument
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c1289 zend_string *realpath; in zend_accel_invalidate() local
1296 realpath = accelerator_orig_zend_resolve_path(filename, filename_len); in zend_accel_invalidate()
1298 if (!realpath) { in zend_accel_invalidate()
1303 zend_file_cache_invalidate(realpath); in zend_accel_invalidate()
1306 persistent_script = zend_accel_hash_find(&ZCSG(hash), realpath); in zend_accel_invalidate()
1309 zend_stream_init_filename(&file_handle, ZSTR_VAL(realpath)); in zend_accel_invalidate()
1310 file_handle.opened_path = realpath; in zend_accel_invalidate()
1335 zend_string_release_ex(realpath, 0); in zend_accel_invalidate()
/PHP-7.4/main/streams/
H A Dplain_wrapper.c1045 char realpath[MAXPATHLEN]; in _php_stream_fopen() local
1058 strlcpy(realpath, filename, sizeof(realpath)); in _php_stream_fopen()
1060 if (expand_filepath(filename, realpath) == NULL) { in _php_stream_fopen()
1066 spprintf(&persistent_id, 0, "streams_stdio_%d_%s", open_flags, realpath); in _php_stream_fopen()
1071 *opened_path = zend_string_init(realpath, strlen(realpath), 0); in _php_stream_fopen()
1081 fd = php_win32_ioutil_open(realpath, open_flags, 0666); in _php_stream_fopen()
1083 fd = open(realpath, open_flags, 0666); in _php_stream_fopen()
1095 *opened_path = zend_string_init(realpath, strlen(realpath), 0); in _php_stream_fopen()
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.c79 #define realpath(x,y) strcpy(y,x) macro
382 if(r->path == r->realpath) { in realpath_cache_del()
397 static inline void realpath_cache_add(const char *path, size_t path_len, const char *realpath, size… in realpath_cache_add() argument
403 memcmp(path, realpath, path_len) != 0) { in realpath_cache_add()
421 bucket->realpath = bucket->path; in realpath_cache_add()
423 bucket->realpath = bucket->path + (path_len + 1); in realpath_cache_add()
424 memcpy(bucket->realpath, realpath, realpath_len+1); in realpath_cache_add()
455 if(r->path == r->realpath) { in realpath_cache_find()
598 memcpy(path, bucket->realpath, bucket->realpath_len + 1); in tsrm_realpath_r()
/PHP-7.4/ext/ftp/tests/
H A Dserver.inc68 /* quick&dirty realpath() like function */
/PHP-7.4/sapi/litespeed/
H A Dlsapilib.c3890 if (realpath(p, resolved_path) == NULL in lsapi_check_path()
/PHP-7.4/build/
H A Dphp.m41392 dnl Some systems, notably Solaris, cause getcwd() or realpath to fail if a
/PHP-7.4/ext/mysqli/tests/
H A Dconnect.inc35 return realpath( $_ENV['TMP'] );
37 return realpath( $_ENV['TMPDIR'] );
39 return realpath( $_ENV['TEMP'] );
43 $temp_dir = realpath(dirname($temp_file));
/PHP-7.4/ext/pdo_mysql/tests/
H A Dconfig.inc37 return realpath( $_ENV['TMP'] );
39 return realpath( $_ENV['TMPDIR'] );
41 return realpath( $_ENV['TEMP'] );
45 $temp_dir = realpath(dirname($temp_file));
/PHP-7.4/ext/standard/tests/file/
H A Dtempnam_variation8-win32.phpt53 print(realpath($file_name));
64 …if (realpath($file_dir) == realpath(sys_get_temp_dir()) || realpath($file_dir."\\") == realpath(sy…
67 …else if (realpath($file_dir) == realpath($dir_req) || realpath($file_dir."\\") == realpath($dir_re…
H A Drealpath_basic4.phpt2 Test realpath() with relative paths
9 echo "1. " . realpath("$file_path/realpath_basic4/link2") . "\n";
10 echo "2. " . realpath("$file_path/realpath_basic4/link2/test") . "\n";
H A Dbug39367.phpt2 Bug #39367 (clearstatcache() doesn't clear realpath cache)
H A Dreadlink_realpath_variation1.phpt14 Prototype: string realpath ( string $path );
18 echo "*** Testing readlink() and realpath() : usage variations ***\n";
23 echo "\n*** Testing readlink() and realpath() with linkname stored inside a object ***\n";
42 var_dump( realpath($obj1->linkname) );
45 var_dump( realpath($obj2->linkname) );
55 var_dump( realpath($obj1->linkname) );
58 var_dump( realpath($obj2->linkname) );
76 *** Testing readlink() and realpath() : usage variations ***
78 *** Testing readlink() and realpath() with linkname stored inside a object ***
80 -- Testing readlink() and realpath() with softlink, linkname stored inside an object --
[all …]
H A Dreadlink_realpath_error-win32.phpt2 Test readlink() and realpath() functions: error conditions
14 Prototype: string realpath ( string $path );
31 echo "*** Testing realpath(): error conditions ***\n";
32 var_dump( realpath() ); // args < expected
33 var_dump( realpath(1, 2) ); // args > expected
35 echo "\n*** Testing realpath() on a non-existent file ***\n";
36 var_dump( realpath(__DIR__."/realpath_error.tmp") );
59 *** Testing realpath(): error conditions ***
61 Warning: realpath() expects exactly 1 parameter, 0 given in %s on line %d
64 Warning: realpath() expects exactly 1 parameter, 2 given in %s on line %d
[all …]
H A Dreadlink_realpath_variation2-win32.phpt17 Prototype: string realpath ( string $path );
21 echo "*** Testing readlink() and realpath() : usage variations ***\n";
30 echo "\n*** Testing readlink() and realpath() with linkname stored in an array ***\n";
40 var_dump( realpath($link_arr[0]) );
43 var_dump( realpath($link_arr[1]) );
53 var_dump( realpath($link_arr[0]) );
56 var_dump( realpath($link_arr[1]) );
74 *** Testing readlink() and realpath() : usage variations ***
76 *** Testing readlink() and realpath() with linkname stored in an array ***
78 -- Testing readlink() and realpath() with softlink, linkname stored inside an array --
[all …]
H A Dreadlink_realpath_error.phpt2 Test readlink() and realpath() functions: error conditions
14 Prototype: string realpath ( string $path );
31 echo "*** Testing realpath(): error conditions ***\n";
32 var_dump( realpath() ); // args < expected
33 var_dump( realpath(1, 2) ); // args > expected
35 echo "\n*** Testing realpath() on a non-existent file ***\n";
36 var_dump( realpath(__DIR__."/realpath_error.tmp") );
63 *** Testing realpath(): error conditions ***
65 Warning: realpath() expects exactly 1 parameter, 0 given in %s on line %d
68 Warning: realpath() expects exactly 1 parameter, 2 given in %s on line %d
[all …]
/PHP-7.4/win32/
H A Dioutil.h636 PW32IO char *realpath(const char *path, char *resolved);
/PHP-7.4/win32/build/
H A Dmkdist.php72 $bd = strtolower(realpath($build_dir));
462 $path_to_phar = realpath(__DIR__ . '/../../ext/phar');

Completed in 110 milliseconds

1234