/PHP-8.0/ext/session/ |
H A D | session.stub.php | 9 function session_save_path(?string $path = null): string|false {} argument 62 function session_set_cookie_params(array|int $lifetime_or_options, ?string $path = null, ?string $d… argument 69 public function open(string $path, string $name); argument 105 public function open(string $path, string $name) {} argument
|
/PHP-8.0/scripts/dev/ |
H A D | find_tested.php | 187 $path = $thisdir->path.$file; 188 if(is_dir($path) == true) { 189 get_phpt_files($path , $phpt_file_count , $all_phpt); 192 $all_phpt[$phpt_file_count] = $path;
|
/PHP-8.0/sapi/litespeed/ |
H A D | lsapi_main.c | 544 char *path, *server_name; in sapi_lsapi_activate() local 578 path[path_len] = 0; in sapi_lsapi_activate() 583 efree(path); in sapi_lsapi_activate() 843 int len = (int)strlen(path); in pathlen_without_trailing_slash() 907 char *path; member 928 if (!ctx->path || !*ctx->path) { in lsapi_activate_user_ini_basic_checks() 945 char *path; in lsapi_activate_user_ini_mk_path() local 950 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_path() 951 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path() 958 efree(path); in lsapi_activate_user_ini_mk_path() [all …]
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | basename-win32.phpt | 89 /* path with spaces */ 101 foreach ($path_arrays as $path) { 103 if( 1 == count($path) ) { // no suffix provided 104 var_dump( basename($path[0]) ); 105 } else { // path as well as suffix provided, 106 var_dump( basename($path[0], $path[1]) ); 114 echo "\n*** Testing possible variations in path and suffix ***\n"; 197 *** Testing possible variations in path and suffix ***
|
H A D | userstreams_007.phpt | 6 function stream_open($path, $mode, $openedpath) { 9 public function stream_metadata($path, $option, $var) { 10 echo "metadata: $path, $option\n";
|
/PHP-8.0/tests/security/ |
H A D | open_basedir_scandir.phpt | 30 Warning: scandir(): open_basedir restriction in effect. File(../bad) is not within the allowed path… 37 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 44 Warning: scandir(): open_basedir restriction in effect. File(..) is not within the allowed path(s):… 51 Warning: scandir(): open_basedir restriction in effect. File(../) is not within the allowed path(s)… 58 Warning: scandir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): … 65 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li… 72 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 79 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
H A D | open_basedir_file_put_contents.phpt | 32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 37 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 42 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 47 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li… 52 …restriction in effect. File%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | basename_basic.phpt | 55 foreach ($path_arrays as $path) { 57 if( 1 == count($path) ) { // no suffix provided 58 var_dump( basename($path[0]) ); 59 } else { // path as well as suffix provided, 60 var_dump( basename($path[0], $path[1]) );
|
/PHP-8.0/ext/pgsql/tests/ |
H A D | 05large_object.phpt | 58 $path = __DIR__ . '/'; 60 $oid = pg_lo_import($db, $path . 'php.gif'); 63 @unlink($path . 'php.gif.exported'); 64 pg_lo_export($db, $oid, $path . 'php.gif.exported'); 65 if (!file_exists($path . 'php.gif.exported')) { 68 @unlink($path . 'php.gif.exported');
|
/PHP-8.0/ext/standard/ |
H A D | http_fopen_wrapper.c | 157 resource = php_url_parse(path); in php_stream_url_wrap_http_ex() 394 smart_str_appends(&req_buf, path); in php_stream_url_wrap_http_ex() 399 if (resource->path && ZSTR_LEN(resource->path)) { in php_stream_url_wrap_http_ex() 523 size_t scratch_len = strlen(path) + 1; in php_stream_url_wrap_http_ex() 861 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex() 862 if (!ZSTR_LEN(resource->path)) { in php_stream_url_wrap_http_ex() 865 s = ZSTR_VAL(resource->path); in php_stream_url_wrap_http_ex() 871 if (resource->path && in php_stream_url_wrap_http_ex() 872 ZSTR_VAL(resource->path)[0] == '/' && in php_stream_url_wrap_http_ex() 873 ZSTR_VAL(resource->path)[1] == '\0') { in php_stream_url_wrap_http_ex() [all …]
|
/PHP-8.0/ext/standard/tests/streams/ |
H A D | bug77765.phpt | 13 $path = "ftp://localhost:" . $port."/www"; 15 var_dump(stat($path)['mode']);
|
H A D | bug60455_03.phpt | 9 function stream_open($path, $mode, $options, &$opened_path) { 11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n"); 12 if ($path == "test://eofafter2nd")
|
H A D | stream_get_meta_data_file_variation4.phpt | 2 stream_get_meta_data() with a relative file path 14 echo "\nChange to file's directory and open with a relative path:\n"; 51 Change to file's directory and open with a relative path:
|
/PHP-8.0/sapi/fpm/tests/ |
H A D | bug68423-multi-pool-all-pms.phpt | 15 ping.path = /ping 24 ping.path = /ping 31 ping.path = /ping
|
/PHP-8.0/ext/phar/phar/ |
H A D | directorygraphiterator.inc | 19 function __construct($path) 24 … new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/PHP-8.0/ext/phar/tests/ |
H A D | bug46178.phpt | 13 $phar['long/path/name.txt'] = 'hi'; 14 $phar->addEmptyDir('long/path');
|
H A D | create_path_error.phpt | 2 Phar: create with illegal path 76 9:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contain… 77 10:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai… 78 11:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai… 79 12:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai… 80 13:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai…
|
/PHP-8.0/ext/standard/tests/url/ |
H A D | bug68917.phpt | 13 [path] => /hi 20 [path] => /hi
|
/PHP-8.0/ext/zlib/tests/ |
H A D | compress_zlib_wrapper.phpt | 11 // Relative path 15 // Absolute path
|
/PHP-8.0/ext/standard/tests/file/windows_mb_path/ |
H A D | test_long_path_mkdir.phpt | 2 Mkdir with path length < 260 and > 248 has be a long path 11 die("skip the starting path length is unsuitable for this test");
|
H A D | test_cp874_0.phpt | 38 $path = __DIR__ . DIRECTORY_SEPARATOR . $name . ".txt"; 40 file_put_contents($path, "hello" . $i++); 42 get_basename_with_cp($path, 874); 43 var_dump(file_get_contents($path)); 45 unlink($path);
|
/PHP-8.0/tests/run-test/ |
H A D | test007.phpt | 10 function check_dirname($path) { 12 $path1 = str_replace("%",$s,$path); 15 print "dirname($path) == $path3\n";
|
/PHP-8.0/ |
H A D | buildconf | 47 PHP_AUTOCONF Overrides the path to autoconf tool. 48 PHP_AUTOCONF=/path/to/autoconf ./buildconf 49 PHP_AUTOHEADER Overrides the path to autoheader tool. 50 PHP_AUTOHEADER=/path/to/autoheader ./buildconf
|
/PHP-8.0/ext/standard/tests/dir/ |
H A D | dir_variation9.phpt | 13 * have valid and invalid relative path. 44 // open the directory with invalid path 74 ["path"]=> 80 ["path"]=> 86 ["path"]=> 92 ["path"]=>
|
/PHP-8.0/ext/standard/tests/network/ |
H A D | bug69948.phpt | 2 Bug #69948 (path/domain are not sanitized for special characters in setcookie) 20 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
|