Home
last modified time | relevance | path

Searched refs:path (Results 51 – 75 of 720) sorted by relevance

12345678910>>...29

/PHP-7.0/ext/filter/tests/
H A Dbug51192.phpt7 var_dump(filter_var('http://example.com/path', FILTER_VALIDATE_URL));
8 var_dump(filter_var('http://exa-mple.com/path', FILTER_VALIDATE_URL));
9 var_dump(filter_var('http://exa_mple.com/path', FILTER_VALIDATE_URL));
11 string(23) "http://example.com/path"
12 string(24) "http://exa-mple.com/path"
/PHP-7.0/ext/session/tests/
H A Dsession_set_save_handler_class_002.phpt22 public $path;
24 public function open($path, $name) {
25 if (!$path) {
26 $path = sys_get_temp_dir();
28 $this->path = $path . '/u_sess_' . $name;
37 return @file_get_contents($this->path . $id);
41 return (bool)file_put_contents($this->path . $id, $data);
45 @unlink($this->path . $id);
50 foreach (glob($this->path . '*') as $filename) {
/PHP-7.0/ext/standard/tests/dir/
H A Dopendir_variation1.phpt24 $path = dirname(__FILE__) . "/opendir_variation1";
25 mkdir($path);
34 var $path;
35 function __construct($path) {
36 $this->path = $path;
39 return $this->path;
45 $path
51 // unexpected values to be passed to $path argument
83 /*19*/ "$path",
88 /*22*/ new classA($path),
[all …]
/PHP-7.0/ext/spl/examples/
H A Dfindfile.inc26 /** Construct from path and filename
28 * @param $path the directory to search in
29 * If path contains ';' then this parameter is split and every
33 function __construct($path, $file)
36 $list = split(PATH_SEPARATOR, $path);
38 parent::__construct(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
41 foreach($list as $path) {
42 $it->append(new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path)));
H A Ddirectorytree.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path) {
23 parent::__construct(new DirectoryFilterDots($path));
/PHP-7.0/ext/ftp/
H A Dftp.h157 char** ftp_nlist(ftpbuf_t *ftp, const char *path);
164 char** ftp_list(ftpbuf_t *ftp, const char *path, int recursive);
174 int ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, zend_long resu…
179 int ftp_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, zend_long start…
182 zend_long ftp_size(ftpbuf_t *ftp, const char *path);
185 time_t ftp_mdtm(ftpbuf_t *ftp, const char *path);
191 int ftp_delete(ftpbuf_t *ftp, const char *path);
199 int ftp_nb_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type, zend_long r…
204 int ftp_nb_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, zend_long st…
/PHP-7.0/ext/standard/tests/file/
H A Dbug32160.phpt5 $path = dirname(__FILE__) . "/bug32160.txt";
6 var_dump(copy($path, $path));
8 var_dump(copy($path, "bug32160.txt"));
H A Dstream_get_line.phpt5 $path = dirname(__FILE__) . '/test.html';
7 file_put_contents($path, b"foo<br>bar<br>foo");
8 $fp = fopen($path, "r");
13 @unlink($path);
H A D006_basic.phpt30 $path = dirname(__FILE__);
33 fopen($path."/perm.tmp", "w");
34 var_dump( chmod($path."/perm.tmp", 0755 ) );
35 printf("%o", fileperms($path."/perm.tmp") );
39 mkdir($path."/perm");
40 var_dump( chmod( $path."/perm", 0777 ) );
41 printf("%o", fileperms($path."/perm") );
/PHP-7.0/ext/simplexml/tests/
H A Dbug42259.phpt31 $path = '';
34 $path .= $ancestor->getName() . '/';
36 $path = substr($path, 0, strlen($path) - 1);
37 echo count($ancestry) . ' steps: ' . $path . PHP_EOL;
/PHP-7.0/ext/fileinfo/libmagic/
H A Dapptype.c49 char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], in file_os2_apptype() local
62 (void)sprintf(path, "%s%s%s%s", drive, in file_os2_apptype()
68 if ((fp = fopen(path, "wb")) == NULL) { in file_os2_apptype()
69 file_error(ms, errno, "cannot open tmp file `%s'", path); in file_os2_apptype()
74 path); in file_os2_apptype()
80 rc = DosQueryAppType((unsigned char *)path, &type); in file_os2_apptype()
83 unlink(path); in file_os2_apptype()
/PHP-7.0/ext/standard/
H A Dphp_fopen_wrapper.c191 if (!strncasecmp(path, "php://", 6)) { in php_stream_url_wrap_php()
192 path += 6; in php_stream_url_wrap_php()
195 if (!strncasecmp(path, "temp", 4)) { in php_stream_url_wrap_php()
196 path += 4; in php_stream_url_wrap_php()
199 path += 11; in php_stream_url_wrap_php()
214 if (!strcasecmp(path, "memory")) { in php_stream_url_wrap_php()
223 if (!strcasecmp(path, "output")) { in php_stream_url_wrap_php()
227 if (!strcasecmp(path, "input")) { in php_stream_url_wrap_php()
248 if (!strcasecmp(path, "stdin")) { in php_stream_url_wrap_php()
322 start = &path[3]; in php_stream_url_wrap_php()
[all …]
/PHP-7.0/ext/phar/
H A Ddirstream.c321 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_dir()
322 if (resource->host && !resource->path) { in phar_wrapper_open_dir()
328 …ror(wrapper, options, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path); in phar_wrapper_open_dir()
340 internal_file = resource->path + 1; /* strip leading "/" */ in phar_wrapper_open_dir()
444 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_mkdir()
465 …if ((e = phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 2, &error, … in phar_wrapper_mkdir()
483 if (phar_get_entry_info_dir(phar, resource->path + 1, strlen(resource->path + 1), 0, &error, 1)) { in phar_wrapper_mkdir()
504 entry.filename = estrdup(resource->path + 1); in phar_wrapper_mkdir()
511 entry.filename_len = strlen(resource->path + 1); in phar_wrapper_mkdir()
579 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_rmdir()
[all …]
/PHP-7.0/ext/opcache/tests/
H A Dblacklist.phpt26 [0] => /path/to/foo
27 [1] => /path/to/foo2
28 [2] => /path/to/bar
31 [5] => /tmp/path/?nocache.inc
32 [6] => /tmp/path/*/somedir
/PHP-7.0/tests/security/
H A Dopen_basedir_file_exists.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: file_exists(): open_basedir restriction in effect. File(..) is not within the allowed path
32 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li…
35 Warning: file_exists(): open_basedir restriction in effect. File(/) is not within the allowed path(…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_fileatime.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: fileatime(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: fileatime(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: fileatime(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_filectime.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: filectime(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: filectime(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: filectime(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_filegroup.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: filegroup(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: filegroup(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: filegroup(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_fileinode.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: fileinode(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: fileinode(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: fileinode(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_filemtime.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: filemtime(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: filemtime(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: filemtime(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_fileowner.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: fileowner(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: fileowner(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: fileowner(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_fileperms.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: fileperms(): open_basedir restriction in effect. File(..) is not within the allowed path(s…
32 Warning: fileperms(): open_basedir restriction in effect. File(../) is not within the allowed path(…
35 Warning: fileperms(): open_basedir restriction in effect. File(/) is not within the allowed path(s)…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_filesize.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: filesize(): open_basedir restriction in effect. File(..) is not within the allowed path(s)…
32 Warning: filesize(): open_basedir restriction in effect. File(../) is not within the allowed path(s…
35 Warning: filesize(): open_basedir restriction in effect. File(/) is not within the allowed path(s):…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_filetype.phpt23 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: filetype(): open_basedir restriction in effect. File(..) is not within the allowed path(s)…
32 Warning: filetype(): open_basedir restriction in effect. File(../) is not within the allowed path(s…
35 Warning: filetype(): open_basedir restriction in effect. File(/) is not within the allowed path(s):…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 …pen_basedir restriction in effect. File(./../.) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_is_dir.phpt23 Warning: is_dir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(…
26 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
29 Warning: is_dir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): …
32 Warning: is_dir(): open_basedir restriction in effect. File(../) is not within the allowed path(s):…
35 Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (…
38 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
41 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …ion in effect. File(%s/test/bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
47 Warning: is_dir(): open_basedir restriction in effect. File(./../.) is not within the allowed path(…

Completed in 52 milliseconds

12345678910>>...29