/PHP-7.1/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.1/ext/standard/tests/file/windows_links/ |
H A D | common.inc | 13 // install somewhere that is on %path% or added to %path%
|
/PHP-7.1/ext/phar/tests/ |
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 …]
|
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 …]
|
/PHP-7.1/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.1/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.1/sapi/fpm/fpm/ |
H A D | fpm_php.c | 230 int fpm_php_limit_extensions(char *path) /* {{{ */ in fpm_php_limit_extensions() argument 235 if (!path || !limit_extensions) { in fpm_php_limit_extensions() 240 path_len = strlen(path); in fpm_php_limit_extensions() 244 char *path_ext = path + path_len - ext_len; in fpm_php_limit_extensions() 253 …og(ZLOG_NOTICE, "Access to the script '%s' has been denied (see security.limit_extensions)", path); in fpm_php_limit_extensions()
|
H A D | fpm_main.c | 210 #define TRANSLATE_SLASHES(path) \ argument 212 char *tmp = path; \ 219 #define TRANSLATE_SLASHES(path) argument 702 path = real_path; 708 s2 = path; 711 s1 = path; 776 path = emalloc(path_len + 2); 784 path[path_len] = 0; 810 efree(path); 929 if (!path) { [all …]
|
/PHP-7.1/ext/dba/ |
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.1/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.1/ext/standard/ |
H A D | http_fopen_wrapper.c | 154 resource = php_url_parse(path); in php_stream_url_wrap_http_ex() 390 smart_str_appends(&req_buf, path); in php_stream_url_wrap_http_ex() 395 if (resource->path && *resource->path) { in php_stream_url_wrap_http_ex() 396 smart_str_appends(&req_buf, resource->path); in php_stream_url_wrap_http_ex() 533 size_t scratch_len = strlen(path) + 1; in php_stream_url_wrap_http_ex() 879 if (*(location+1) != '\0' && resource->path) { in php_stream_url_wrap_http_ex() 880 char *s = strrchr(resource->path, '/'); in php_stream_url_wrap_http_ex() 882 s = resource->path; in php_stream_url_wrap_http_ex() 885 s = resource->path = estrdup("/"); in php_stream_url_wrap_http_ex() 891 if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') { in php_stream_url_wrap_http_ex() [all …]
|
H A D | filestat.c | 116 PHP_WIN32_IOUTIL_INIT_W(path) in php_disk_total_space() 136 char drive = path[0] & 95; 156 if (statvfs(path, &buf)) { 167 if (statfs(path, &buf)) { 186 char *path; in PHP_FUNCTION() local 193 if (php_check_open_basedir(path)) { in PHP_FUNCTION() 210 PHP_WIN32_IOUTIL_INIT_W(path) in php_disk_free_space() 230 char drive = path[0] & 95; 250 if (statvfs(path, &buf)) { 260 if (statfs(path, &buf)) { [all …]
|
/PHP-7.1/main/ |
H A D | win95nt.h | 45 #define chdir(path) _chdir(path) argument
|
/PHP-7.1/ext/standard/tests/strings/ |
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,
|
H A D | dirname_multi.phpt | 10 /* Prototype: string dirname ( string $path [, int nb]); 11 Description: Returns directory name component of path.
|
/PHP-7.1/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…
|
/PHP-7.1/ext/standard/tests/file/windows_mb_path/ |
H A D | test_cp932_1.phpt | 26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42"; 28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4"; 31 var_dump(file_exists($path));
|
H A D | bug64699.phpt | 34 $path = $dir . $file; 35 $type = filetype($path); 36 $type2= is_dir($path) ? 'dir' : 'file';
|
/PHP-7.1/ext/standard/tests/file/ |
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) );
|
H A D | readlink_realpath_basic2.phpt | 2 Test readlink() and realpath functions: basic functionality - diff. path notation for files 11 /* Prototype: string readlink ( string $path ); 14 Prototype: string realpath ( string $path ); 37 /* filenames with invalid path */
|
/PHP-7.1/ext/session/tests/ |
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
|
H A D | session_set_save_handler_variation2.phpt | 19 $path = dirname(__FILE__); 20 session_save_path($path);
|
/PHP-7.1/ext/mbstring/ucgendat/ |
H A D | ucgendat.c | 1303 char path[BUFSIZ]; in write_cdata() local 1316 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "uctable.h", opath); in write_cdata() 1317 if ((out = fopen(path, "w")) == 0) in write_cdata() 1323 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "ctype.dat", opath); in write_cdata() 1324 if ((out = fopen(path, "wb")) == 0) in write_cdata() 1474 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "case.dat", opath); in write_cdata() 1553 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "comp.dat", opath); in write_cdata() 1629 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "decomp.dat", opath); in write_cdata() 1722 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "kdecomp.dat", opath); in write_cdata() 1802 snprintf(path, sizeof path, "%s" LDAP_DIRSEP "cmbcl.dat", opath); in write_cdata() [all …]
|