/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/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);
|
/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/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/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);
|
/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/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));
|
H A D | util.inc | 29 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 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/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()
|
/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/pdo_odbc/tests/ |
H A D | common.phpt | 51 $path = realpath(__DIR__) . '\pdo_odbc.mdb'; 52 if (!file_exists($path)) { 56 $adox->Create('Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' . $path); 62 if (file_exists($path)) { 64 …$config['ENV']['PDOTEST_DSN'] = "odbc:Driver={Microsoft Access Driver (*.mdb)};Dbq=$path;Uid=Admin…
|
/php-src/main/streams/ |
H A D | streams.c | 164 tmp = estrdup(path); in php_stream_display_wrapper_errors() 1963 *path_for_open = (char*)path; 1975 protocol = path; 2012 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/' && path[n+4] != ':') { 2014 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/') { 2136 if (!path || !*path) { 2140 path_to_open = path; 2196 if (!path || !*path) { 2205 resolved_path = php_resolve_path(path, strlen(path), PG(include_path)); 2218 path_to_open = path; [all …]
|