/PHP-7.0/ext/phar/tests/ |
H A D | bug46178.phpt | 13 $phar['long/path/name.txt'] = 'hi'; 14 $phar->addEmptyDir('long/path');
|
H A D | phar_setdefaultstub.phpt | 236 if ($path[strlen($path) - 1] == '/') { 237 @mkdir($temp . '/' . $path, 0777); 239 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 240 @chmod($temp . '/' . $path, 0666); 531 if ($path[strlen($path) - 1] == '/') { 532 @mkdir($temp . '/' . $path, 0777); 534 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 535 @chmod($temp . '/' . $path, 0666); 826 if ($path[strlen($path) - 1] == '/') { 827 @mkdir($temp . '/' . $path, 0777); [all …]
|
H A D | phar_createdefaultstub.phpt | 216 if ($path[strlen($path) - 1] == '/') { 217 @mkdir($temp . '/' . $path, 0777); 219 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 220 @chmod($temp . '/' . $path, 0666); 510 if ($path[strlen($path) - 1] == '/') { 511 @mkdir($temp . '/' . $path, 0777); 513 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 514 @chmod($temp . '/' . $path, 0666); 812 if ($path[strlen($path) - 1] == '/') { 813 @mkdir($temp . '/' . $path, 0777); [all …]
|
/PHP-7.0/ext/zlib/tests/ |
H A D | compress_zlib_wrapper.phpt | 11 // Relative path 15 // Absolute path
|
/PHP-7.0/ext/session/tests/ |
H A D | session_save_path_variation5.phpt | 17 * Prototype : string session_save_path([string $path]) 18 * Description : Get and/or set the current session save path 51 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
|
H A D | session_save_path_basic.phpt | 15 * Prototype : string session_save_path([string $path]) 16 * Description : Get and/or set the current session save path
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | file_get_contents_variation1.phpt | 2 Test file_get_contents() function : variation - include path testing 39 fwrite($h, "File in include path"); 50 File in include path
|
H A D | dirname_basic-win32.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 | pathinfo_variaton.phpt | 5 /* Prototype: mixed pathinfo ( string $path [, int $options] ); 6 Description: Returns information about a file path 80 /* loop through $paths to test each $path in the above array */ 81 foreach($paths as $path) { 83 var_dump( pathinfo($path) ); 84 var_dump( pathinfo($path, PATHINFO_DIRNAME) ); 85 var_dump( pathinfo($path, PATHINFO_BASENAME) ); 86 var_dump( pathinfo($path, PATHINFO_EXTENSION) ); 87 var_dump( pathinfo($path, PATHINFO_FILENAME) );
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | include_path.phpt | 23 var_dump(set_include_path(".:/path/to/dir")); 62 string(14) ".:/path/to/dir" 70 Warning: set_include_path() expects parameter 1 to be a valid path, array given in %s on line %d
|
/PHP-7.0/ext/dba/ |
H A D | dba_qdbm.c | 46 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC() 49 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC() 52 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC() 55 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
|
H A D | dba_tcadb.c | 48 spprintf(&path_string, 0, "%s#mode=r", info->path); in DBA_OPEN_FUNC() 51 spprintf(&path_string, 0, "%s#mode=w", info->path); in DBA_OPEN_FUNC() 54 spprintf(&path_string, 0, "%s#mode=wc", info->path); in DBA_OPEN_FUNC() 57 spprintf(&path_string, 0, "%s#mode=wct", info->path); in DBA_OPEN_FUNC()
|
/PHP-7.0/ext/standard/tests/strings/ |
H A D | dirname_basic.phpt | 5 /* Prototype: string dirname ( string $path ); 6 Description: Returns directory name component of path. 20 /* path with only files and trailing slashes*/ 31 /* path with file extension and trailing slashes */
|
H A D | basename_invalid_path.phpt | 10 /* Prototype: string basename ( string $path [, string $suffix] ); 11 Description: Given a string containing a path to a file,
|
H A D | basename_invalid_path_win.phpt | 10 /* Prototype: string basename ( string $path [, string $suffix] ); 11 Description: Given a string containing a path to a file,
|
/PHP-7.0/ext/standard/tests/file/windows_links/ |
H A D | common.inc | 13 // install somewhere that is on %path% or added to %path%
|
/PHP-7.0/ext/standard/ |
H A D | http_fopen_wrapper.c | 156 resource = php_url_parse(path); in php_stream_url_wrap_http_ex() 385 scratch_len = strlen(path) + 29 + protocol_version_len; in php_stream_url_wrap_http_ex() 398 strcat(scratch, path); in php_stream_url_wrap_http_ex() 403 if (resource->path && *resource->path) { in php_stream_url_wrap_http_ex() 404 strlcat(scratch, resource->path, scratch_len); in php_stream_url_wrap_http_ex() 877 if (*(location+1) != '\0' && resource->path) { in php_stream_url_wrap_http_ex() 878 char *s = strrchr(resource->path, '/'); in php_stream_url_wrap_http_ex() 880 s = resource->path; in php_stream_url_wrap_http_ex() 883 s = resource->path = estrdup("/"); in php_stream_url_wrap_http_ex() 889 if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') { in php_stream_url_wrap_http_ex() [all …]
|
/PHP-7.0/ext/standard/tests/dir/ |
H A D | dir_variation9.phpt | 19 * have valid and invalid relative path. 50 // open the directory with invalid path 80 ["path"]=> 86 ["path"]=> 92 ["path"]=> 98 ["path"]=>
|
/PHP-7.0/ext/enchant/tests/ |
H A D | enchant_broker_set_dict_path.phpt | 36 echo("broker get dict path has failed \n"); 40 echo("broker set dict path {$backEndDictType2} has failed \n"); 43 echo("broker set dict path {$backEndDictType1} has failed \n");
|
/PHP-7.0/ext/standard/tests/streams/ |
H A D | opendir-002.phpt | 13 $path="ftp://localhost:" . $port."/"; 15 $ds=opendir($path);
|
H A D | opendir-001.phpt | 13 $path="ftp://localhost:" . $port."/bogusdir"; 15 var_dump(opendir($path));
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_php.c | 231 int fpm_php_limit_extensions(char *path) /* {{{ */ in fpm_php_limit_extensions() argument 236 if (!path || !limit_extensions) { in fpm_php_limit_extensions() 241 path_len = strlen(path); in fpm_php_limit_extensions() 245 char *path_ext = path + path_len - ext_len; in fpm_php_limit_extensions() 254 …og(ZLOG_NOTICE, "Access to the script '%s' has been denied (see security.limit_extensions)", path); in fpm_php_limit_extensions()
|
/PHP-7.0/scripts/ |
H A D | phpize.in | 88 Invalid source path '$phpdir'. Whitespace is not allowed in source path. 97 Invalid build path '$builddir'. Whitespace is not allowed in build path.
|
/PHP-7.0/main/ |
H A D | win95nt.h | 45 #define chdir(path) _chdir(path) argument
|
/PHP-7.0/tests/security/ |
H A D | open_basedir_error_log.phpt | 34 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 37 …ir restriction in effect. File(%s/test/bad.txt) is not within the allowed path(s): (.) in %s on li… 40 …basedir restriction in effect. File(%s/bad.txt) is not within the allowed path(s): (.) in %s on li…
|