Home
last modified time | relevance | path

Searched refs:path (Results 251 – 275 of 841) sorted by relevance

1...<<11121314151617181920>>...34

/php-src/ext/phar/tests/
H A Dphar_setdefaultstub.phpt235 if ($path[strlen($path) - 1] == '/') {
236 @mkdir($temp . '/' . $path, 0777);
238 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
239 @chmod($temp . '/' . $path, 0666);
530 if ($path[strlen($path) - 1] == '/') {
531 @mkdir($temp . '/' . $path, 0777);
533 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
534 @chmod($temp . '/' . $path, 0666);
825 if ($path[strlen($path) - 1] == '/') {
826 @mkdir($temp . '/' . $path, 0777);
[all …]
/php-src/ext/standard/tests/file/
H A Dpathinfo_basic2.phpt34 /* loop through $paths to test each $path in the above array */
35 foreach($paths as $path) {
37 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
38 var_dump( pathinfo($path, PATHINFO_BASENAME) );
39 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
40 var_dump( pathinfo($path, PATHINFO_FILENAME) );
41 var_dump( pathinfo($path) );
/php-src/sapi/fpm/fpm/
H A Dfpm_php.c246 int fpm_php_limit_extensions(char *path) /* {{{ */ in fpm_php_limit_extensions() argument
251 if (!path || !limit_extensions) { in fpm_php_limit_extensions()
256 path_len = strlen(path); in fpm_php_limit_extensions()
260 char *path_ext = path + path_len - ext_len; in fpm_php_limit_extensions()
269 …og(ZLOG_NOTICE, "Access to the script '%s' has been denied (see security.limit_extensions)", path); in fpm_php_limit_extensions()
/php-src/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_basic.phpt23 $path = __DIR__ . '/session_set_save_handler_basic';
24 @mkdir($path);
25 session_save_path($path);
62 $path = __DIR__ . '/session_set_save_handler_basic';
63 rmdir($path);
/php-src/scripts/
H A Dphpize.in92 Invalid source path '$phpdir'. Whitespace is not allowed in source path.
101 Invalid build path '$builddir'. Whitespace is not allowed in build path.
/php-src/ext/standard/tests/streams/
H A Dopendir-001.phpt13 $path="ftp://localhost:" . $port."/bogusdir";
15 var_dump(opendir($path));
H A Dbug72771.phpt15 $path="ftps://127.0.0.1:" . $port."/";
17 $ds=opendir($path, $context);
H A Dbug77680.phpt14 $path = "ftp://localhost:" . $port."/one/two/three/";
15 mkdir($path, 0755, true);
H A Dopendir-004.phpt16 $path="ftps://127.0.0.1:" . $port."/";
20 $ds=opendir($path, $context);
/php-src/ext/libxml/tests/
H A Dlibxml_set_streams_context_overwrite.phpt11 function stream_open($path, $mode, $options, &$opened_path)
17 function url_stat($path, $flags)
H A Dbug54440.phpt10 function stream_open($path, $mode, $options, &$opened_path)
17 function url_stat($path, $flags)
/php-src/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…
/php-src/ext/session/tests/
H A Dsession_save_path_variation4.phpt51 Warning: ini_set(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):…
54 …): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (.) in %s on li…
56 Warning: session_start(): Failed to initialize storage module: files (path: ) in %s on line %d
/php-src/ext/standard/tests/dir/
H A Dopendir_basic-win32-mb.phpt12 * Test basic functionality of opendir() with absolute and relative paths as $path argument
30 echo "\n-- Testing opendir() with absolute path: --\n";
54 -- Testing opendir() with absolute path: --
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dbug64699.phpt34 $path = $dir . $file;
35 $type = filetype($path);
36 $type2= is_dir($path) ? 'dir' : 'file';
H A Dtest_cp932_1.phpt28 $path = $prefix . DIRECTORY_SEPARATOR . "{$item}42";
30 $subpath = $path . DIRECTORY_SEPARATOR . "{$item}4";
33 var_dump(file_exists($path));
H A Dutil.inc29 function get_basename_with_cp($path, $cp, $echo = true)
34 if ($echo) echo "getting basename of $path\n";
36 $cmd = "powershell -command \"Get-Item -Path '$path' | Format-Table -HideTableHeaders Name\"";
39 if ($echo) var_dump($out, $out == basename($path));
40 if ($echo) var_dump(realpath($path));
/php-src/ext/mysqli/tests/
H A Dmysqli_ssl_set.phpt23 'The path name to the key file.',
24 'The path name to the certificate file.',
25 'The path name to the certificate authority file.',
/php-src/sapi/cli/tests/
H A Dbug73630a.phpt20 $path = "/" . str_repeat("x", 16400) . "//example.com";
21 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS . "$path"));
/php-src/ext/standard/tests/general_functions/
H A Dinclude_path.phpt17 var_dump(set_include_path(".:/path/to/dir"));
42 string(14) ".:/path/to/dir"
H A Ddl-full-path-not-supported.phpt2 dl() fails when trying to load full path to module
18 var_dump(dl('/path/to/module'));
/php-src/ext/openssl/tests/
H A Dgh9310.phpt160 PHP Warning: stream_socket_accept(): Unable to get real path of certificate file `%scert.crt' in %s
164 PHP Warning: stream_socket_accept(): Unable to get real path of private key file `%sprivate.key' i…
167 …sedir restriction in effect. File(%sgh9310.crt) is not within the allowed path(s): (%sgh9310) in %s
168 PHP Warning: stream_socket_accept(): Unable to get real path of certificate file `%sgh9310.crt' in…
171 …sedir restriction in effect. File(%sgh9310.key) is not within the allowed path(s): (%sgh9310) in %s
172 PHP Warning: stream_socket_accept(): Unable to get real path of private key file `%sgh9310.key' in…
175 …estriction in effect. File(%ssni_server_cs.pem) is not within the allowed path(s): (%sgh9310) in %s
179 …iction in effect. File(%ssni_server_uk_key.pem) is not within the allowed path(s): (%sgh9310) in %s
183 …ction in effect. File(%ssni_server_us_cert.pem) is not within the allowed path(s): (%sgh9310) in %s
/php-src/Zend/
H A Dzend_extensions.c28 zend_result zend_load_extension(const char *path) in zend_load_extension() argument
33 handle = DL_LOAD(path); in zend_load_extension()
36 fprintf(stderr, "Failed loading %s: %s\n", path, DL_ERROR()); in zend_load_extension()
38 fprintf(stderr, "Failed loading %s\n", path); in zend_load_extension()
51 return zend_load_extension_handle(handle, path); in zend_load_extension()
62 zend_result zend_load_extension_handle(DL_HANDLE handle, const char *path) in zend_load_extension_handle() argument
76 fprintf(stderr, "%s doesn't appear to be a valid Zend extension\n", path); in zend_load_extension_handle()
/php-src/ext/dba/
H A Ddba_qdbm.c40 dbf = dpopen(ZSTR_VAL(info->path), DP_OREADER, 0); in DBA_OPEN_FUNC()
43 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER, 0); in DBA_OPEN_FUNC()
46 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC()
49 dbf = dpopen(ZSTR_VAL(info->path), DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
/php-src/ext/fileinfo/tests/
H A Dfinfo_open_004.phpt20 Warning: finfo_open(): File name is longer than the maximum allowed path length on this platform (%…
22 TEST:finfo::__construct(): File name is longer than the maximum allowed path length on this platfor…

Completed in 82 milliseconds

1...<<11121314151617181920>>...34