Home
last modified time | relevance | path

Searched refs:path (Results 201 – 225 of 742) sorted by relevance

12345678910>>...30

/PHP-8.0/ext/session/
H A Dsession.stub.php9 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 Dfind_tested.php187 $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 Dlsapi_main.c544 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 Dbasename-win32.phpt89 /* 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 Duserstreams_007.phpt6 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 Dopen_basedir_scandir.phpt30 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 Dopen_basedir_file_put_contents.phpt32 …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 Dbasename_basic.phpt55 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 D05large_object.phpt58 $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 Dhttp_fopen_wrapper.c157 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 Dbug77765.phpt13 $path = "ftp://localhost:" . $port."/www";
15 var_dump(stat($path)['mode']);
H A Dbug60455_03.phpt9 function stream_open($path, $mode, $options, &$opened_path) {
11 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n");
12 if ($path == "test://eofafter2nd")
H A Dstream_get_meta_data_file_variation4.phpt2 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 Dbug68423-multi-pool-all-pms.phpt15 ping.path = /ping
24 ping.path = /ping
31 ping.path = /ping
/PHP-8.0/ext/phar/phar/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 … new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-8.0/ext/phar/tests/
H A Dbug46178.phpt13 $phar['long/path/name.txt'] = 'hi';
14 $phar->addEmptyDir('long/path');
H A Dcreate_path_error.phpt2 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 Dbug68917.phpt13 [path] => /hi
20 [path] => /hi
/PHP-8.0/ext/zlib/tests/
H A Dcompress_zlib_wrapper.phpt11 // Relative path
15 // Absolute path
/PHP-8.0/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_mkdir.phpt2 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 Dtest_cp874_0.phpt38 $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 Dtest007.phpt10 function check_dirname($path) {
12 $path1 = str_replace("%",$s,$path);
15 print "dirname($path) == $path3\n";
/PHP-8.0/
H A Dbuildconf47 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 Ddir_variation9.phpt13 * 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 Dbug69948.phpt2 Bug #69948 (path/domain are not sanitized for special characters in setcookie)
20 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"

Completed in 93 milliseconds

12345678910>>...30