Home
last modified time | relevance | path

Searched refs:path (Results 201 – 225 of 720) sorted by relevance

12345678910>>...29

/PHP-7.0/ext/phar/tests/
H A Dbug46178.phpt13 $phar['long/path/name.txt'] = 'hi';
14 $phar->addEmptyDir('long/path');
H A Dphar_setdefaultstub.phpt236 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 Dphar_createdefaultstub.phpt216 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 Dcompress_zlib_wrapper.phpt11 // Relative path
15 // Absolute path
/PHP-7.0/ext/session/tests/
H A Dsession_save_path_variation5.phpt17 * 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 Dsession_save_path_basic.phpt15 * 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 Dfile_get_contents_variation1.phpt2 Test file_get_contents() function : variation - include path testing
39 fwrite($h, "File in include path");
50 File in include path
H A Ddirname_basic-win32.phpt12 /* 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 Dpathinfo_variaton.phpt5 /* 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 Dinclude_path.phpt23 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 Ddba_qdbm.c46 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 Ddba_tcadb.c48 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 Ddirname_basic.phpt5 /* 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 Dbasename_invalid_path.phpt10 /* Prototype: string basename ( string $path [, string $suffix] );
11 Description: Given a string containing a path to a file,
H A Dbasename_invalid_path_win.phpt10 /* 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 Dcommon.inc13 // install somewhere that is on %path% or added to %path%
/PHP-7.0/ext/standard/
H A Dhttp_fopen_wrapper.c156 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 Ddir_variation9.phpt19 * 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 Denchant_broker_set_dict_path.phpt36 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 Dopendir-002.phpt13 $path="ftp://localhost:" . $port."/";
15 $ds=opendir($path);
H A Dopendir-001.phpt13 $path="ftp://localhost:" . $port."/bogusdir";
15 var_dump(opendir($path));
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_php.c231 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 Dphpize.in88 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 Dwin95nt.h45 #define chdir(path) _chdir(path) argument
/PHP-7.0/tests/security/
H A Dopen_basedir_error_log.phpt34 …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…

Completed in 41 milliseconds

12345678910>>...29