/php-src/ext/phar/tests/ |
H A D | phar_setdefaultstub.phpt | 235 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 D | pathinfo_basic2.phpt | 34 /* 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 D | fpm_php.c | 246 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 D | session_set_save_handler_basic.phpt | 23 $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);
|
H A D | session_set_save_handler_variation6.phpt | 20 $path = __DIR__ . '/session_set_save_handler_variation6'; 21 @mkdir($path); 22 session_save_path($path); 60 $path = __DIR__ . '/session_set_save_handler_variation6'; 61 rmdir($path);
|
/php-src/ext/standard/tests/streams/ |
H A D | opendir-001.phpt | 13 $path="ftp://localhost:" . $port."/bogusdir"; 15 var_dump(opendir($path));
|
H A D | bug72771.phpt | 15 $path="ftps://127.0.0.1:" . $port."/"; 17 $ds=opendir($path, $context);
|
H A D | bug77680.phpt | 14 $path = "ftp://localhost:" . $port."/one/two/three/"; 15 mkdir($path, 0755, true);
|
H A D | opendir-004.phpt | 16 $path="ftps://127.0.0.1:" . $port."/"; 20 $ds=opendir($path, $context);
|
H A D | bug73457.phpt | 16 $path="ftp://127.0.0.1:" . $port."/bug73457"; 18 $ds=file_get_contents($path);
|
/php-src/ext/libxml/tests/ |
H A D | libxml_set_streams_context_overwrite.phpt | 11 function stream_open($path, $mode, $options, &$opened_path) 17 function url_stat($path, $flags)
|
H A D | bug54440.phpt | 10 function stream_open($path, $mode, $options, &$opened_path) 17 function url_stat($path, $flags)
|
/php-src/scripts/ |
H A D | phpize.in | 92 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/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-src/ext/session/tests/ |
H A D | session_save_path_variation4.phpt | 51 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 D | opendir_basic-win32-mb.phpt | 12 * 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 D | bug64699.phpt | 34 $path = $dir . $file; 35 $type = filetype($path); 36 $type2= is_dir($path) ? 'dir' : 'file';
|
H A D | test_cp932_1.phpt | 28 $path = $prefix . DIRECTORY_SEPARATOR . "{$item}42"; 30 $subpath = $path . DIRECTORY_SEPARATOR . "{$item}4"; 33 var_dump(file_exists($path));
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_ssl_set.phpt | 23 '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 D | bug73630a.phpt | 20 $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 D | include_path.phpt | 17 var_dump(set_include_path(".:/path/to/dir")); 42 string(14) ".:/path/to/dir"
|
H A D | dl-full-path-not-supported.phpt | 2 dl() fails when trying to load full path to module 18 var_dump(dl('/path/to/module'));
|
/php-src/ext/openssl/tests/ |
H A D | gh9310.phpt | 160 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/ext/fileinfo/tests/ |
H A D | finfo_open_004.phpt | 20 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…
|
/php-src/ext/dba/ |
H A D | dba_qdbm.c | 40 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()
|