Home
last modified time | relevance | path

Searched refs:path (Results 101 – 125 of 853) sorted by relevance

12345678910>>...35

/PHP-7.3/ext/standard/tests/file/
H A Dreadfile_variation3.phpt2 Test readfile() function: usage variation - include path
8 /* test readfile() by providing an include path, second argument */
16 echo "*** Testing readfile(): checking second argument, include path ***\n";
32 // use the context argument with include path
33 echo "*** Testing readfile(): checking second argument, include path with context specified ***\n";
47 *** Testing readfile(): checking second argument, include path ***
55 *** Testing readfile(): checking second argument, include path with context specified ***
H A Dinclude_streams.phpt13 public $path;
20 function url_stat($path, $flags) {
28 function stream_open($path, $mode, $options, &$opened_path)
30 $this->path = $path;
34 $split = parse_url($path);
36 empty($split["path"]) ||
37 empty($GLOBALS[substr($split["path"],1)])) {
40 $this->varname = substr($split["path"],1);
H A Drealpath_variation2.phpt12 /* Prototype : string realpath(string path)
13 * Description: Return the resolved path
32 foreach($paths as $path) {
33 echo "\n--$path--\n";
34 var_dump( realpath($path) );
H A Dfnmatch_variation.phpt187 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
191 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
267 Warning: fnmatch() expects parameter 2 to be a valid path, string given in %s on line %d
271 Warning: fnmatch() expects parameter 2 to be a valid path, string given in %s on line %d
277 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
280 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
283 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
286 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
289 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
292 Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d
[all …]
H A Dfile_variation5.phpt23 echo "file() on a path containing .. and .\n";
26 echo "\nfile() on a path containing .. with invalid directories\n";
35 echo "\nfile() on a relative path from a different working directory\n";
46 file() on a path containing .. and .
58 file() on a path containing .. with invalid directories
84 file() on a relative path from a different working directory
H A Dfseek_dir_basic.phpt9 $path = dirname(__FILE__) . '/fseek_dir_basic';
10 mkdir($path);
11 create_files($path, 3);
14 var_dump($dh = opendir($path));
38 delete_files($path, 3);
40 var_dump(rmdir($path));
H A Drename_variation13-win32.phpt33 /* prefix with path separator of a non existing directory*/
114 Warning: rename() expects parameter 2 to be a valid path, string given in %srename_variation13-win3…
117 Warning: file_exists() expects parameter 1 to be a valid path, string given in %srename_variation13…
119 Warning: rename() expects parameter 1 to be a valid path, string given in %srename_variation13-win3…
123 Warning: rename() expects parameter 2 to be a valid path, array given in %srename_variation13-win32…
126 Warning: file_exists() expects parameter 1 to be a valid path, array given in %srename_variation13-…
128 Warning: rename() expects parameter 1 to be a valid path, array given in %srename_variation13-win32…
132 Warning: rename(%safile.tmp,/no/such/file/dir): The system cannot find the path specified. (code: 3…
135 Warning: rename(/no/such/file/dir,%safile.tmp): The system cannot find the path specified. (code: 3…
139 Warning: rename(%safile.tmp,php/php): The system cannot find the path specified. (code: 3) in %sren…
[all …]
/PHP-7.3/tests/security/
H A Dopen_basedir_disk_free_space.phpt28 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
31 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
34 …): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on li…
37 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li…
40 …(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on li…
43 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
46 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
49 …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_realpath.phpt29 …asedir restriction in effect. File(%s\test\bad) is not within the allowed path(s): (.) in %s on li…
32 …estriction in effect. File(%s\test\bad\bad.txt) is not within the allowed path(s): (.) in %s on li…
35 …en_basedir restriction in effect. File(%s\test) is not within the allowed path(s): (.) in %s on li…
38 …en_basedir restriction in effect. File(%s\test) is not within the allowed path(s): (.) in %s on li…
41 Warning: realpath(): open_basedir restriction in effect. File(%s\) is not within the allowed path(s…
44 …asedir restriction in effect. File(%s\test\bad) is not within the allowed path(s): (.) in %s on li…
47 …estriction in effect. File(%s\test\bad\bad.txt) is not within the allowed path(s): (.) in %s on li…
50 …estriction in effect. File(%s\test\bad\bad.txt) is not within the allowed path(s): (.) in %s on li…
53 …en_basedir restriction in effect. File(%s\test) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_dir.phpt31 Warning: dir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s):…
36 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
41 Warning: dir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.)…
46 Warning: dir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (.…
51 Warning: dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) …
56 Warning: dir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(s…
61 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
66 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
71 ["path"]=>
77 ["path"]=>
[all …]
H A Dopen_basedir_is_executable.phpt32 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
35 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
38 …): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on li…
41 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li…
44 …(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on li…
47 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
50 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
53 …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_chdir.phpt32 Warning: chdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
35 Warning: chdir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
38 Warning: chdir(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
41 Warning: chdir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
44 Warning: chdir(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
47 Warning: chdir(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
H A Dopen_basedir_touch.phpt41 Warning: touch(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
44 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 Warning: touch(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
50 Warning: touch(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
53 Warning: touch(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
56 Warning: touch(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
59 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li…
62 Warning: touch(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
/PHP-7.3/ext/standard/tests/dir/
H A Dopendir_error1.phpt5 /* Prototype : mixed opendir(string $path[, resource $context])
22 $path = dirname(__FILE__) . "/opendir_error";
23 mkdir($path);
27 var_dump( opendir($path, $context, $extra_arg) );
32 $path = dirname(__FILE__) . "/opendir_error";
33 rmdir($path);
H A Dreaddir_variation2.phpt16 $path = dirname(__FILE__) . '/readdir_variation2';
17 mkdir($path);
18 $dir_handle = opendir($path);
39 $path = dirname(__FILE__) . '/readdir_variation2';
40 rmdir($path);
H A Dopendir_error1-win32-mb.phpt11 /* Prototype : mixed opendir(string $path[, resource $context])
28 $path = dirname(__FILE__) . "/私はガラスを食べられますopendir_error";
29 mkdir($path);
33 var_dump( opendir($path, $context, $extra_arg) );
38 $path = dirname(__FILE__) . "/私はガラスを食べられますopendir_error";
39 rmdir($path);
H A Dreaddir_error.phpt20 $path = dirname(__FILE__) . "/readdir_error";
21 mkdir($path);
22 $dir_handle = opendir($path);
33 $path = dirname(__FILE__) . "/readdir_error";
34 rmdir($path);
H A Dreaddir_variation2-win32-mb.phpt22 $path = dirname(__FILE__) . '/私はガラスを食べられますreaddir_variation2';
23 mkdir($path);
24 $dir_handle = opendir($path);
45 $path = dirname(__FILE__) . '/私はガラスを食べられますreaddir_variation2';
46 rmdir($path);
/PHP-7.3/ext/standard/tests/file/windows_acls/
H A Dbug44859_3.phpt20 $path = __DIR__;
23 $path = __DIR__ . '/' . $file;
25 if (is_executable($path) == $exp) {
28 var_dump(is_executable($path), $exp);
/PHP-7.3/ext/sockets/tests/
H A Dsocket_cmsg_rights.phpt16 $path = __DIR__ . "/unix_sock";
17 @unlink($path);
21 $path = __DIR__ . "/unix_sock";
23 @unlink($path);
33 $br = socket_bind($s, $path) or die("err");
38 "name" => [ "path" => $path ],
/PHP-7.3/ext/standard/tests/strings/
H A Ddirname_variation.phpt5 /* Prototype: string dirname ( string $path );
6 Description: Returns directory name component of path.
30 /* path containing numeric string */
42 /* path as spaces */
46 /* empty path */
64 echo "*** Testing possible variations in path ***\n";
70 \*\*\* Testing possible variations in path \*\*\*
/PHP-7.3/ext/session/tests/
H A Dsession_basic5.phpt39 <a href="/path">test</a>
40 <a href="/path/">test</a>
41 <a href="/path/?foo=var">test</a>
43 <a href="../path">test</a>
44 <a href="../path/">test</a>
45 <a href="../path/?foo=var">test</a>
48 <a href="/path/#bar">test</a>
49 <a href="/path/?foo=var#bar">test</a>
51 <a href="../path/#bar">test</a>
52 <a href="../path/?foo=var#bar">test</a>
[all …]
/PHP-7.3/main/streams/
H A Dmemory.c651 path += 5; in php_stream_url_wrap_rfc2397()
652 dlen = strlen(path); in php_stream_url_wrap_rfc2397()
654 if (dlen >= 2 && path[0] == '/' && path[1] == '/') { in php_stream_url_wrap_rfc2397()
656 path += 2; in php_stream_url_wrap_rfc2397()
664 if (comma != path) { in php_stream_url_wrap_rfc2397()
666 mlen = comma - path; in php_stream_url_wrap_rfc2397()
681 plen = semi - path; in php_stream_url_wrap_rfc2397()
684 path += plen; in php_stream_url_wrap_rfc2397()
692 path++; in php_stream_url_wrap_rfc2397()
709 plen = sep - path; in php_stream_url_wrap_rfc2397()
[all …]
/PHP-7.3/main/
H A Dfopen_wrappers.c152 path_len = strlen(path);
290 if (strlen(path) > (MAXPATHLEN - 1)) {
336 fp = VCWD_FOPEN(path, mode);
509 !path ||
510 !*path) {
518 ptr = path;
645 || (!path || !*path)
662 pathbuf = estrdup(path);
664 size_t path_length = strlen(path);
667 memcpy(pathbuf, path, path_length);
[all …]
/PHP-7.3/ext/phar/tests/
H A Dbug77396.phpt2 Bug #77396 Relative filename exceeding maximum path length causes null pointer dereference.
7 $path = '../' . str_repeat("x", PHP_MAXPATHLEN) . '.tar';
9 $phar = new PharData($path);

Completed in 43 milliseconds

12345678910>>...35