Home
last modified time | relevance | path

Searched refs:path (Results 26 – 50 of 847) sorted by relevance

12345678910>>...34

/PHP-7.1/ext/phar/tests/files/
H A Dpear2coverage.phar.php167 function mangleTestFile($path)
532 function coverageInfo($path) argument
600 $modified[] = $path;
646 protected $path;
656 $this->path = $path;
705 return $this->path;
814 function coverageInfo($path) argument
882 $modified[] = $path;
1201 return array($this->pathCovered[$path], $this->pathTotal[$path]);
1262 function getFileId($path)
[all …]
/PHP-7.1/ext/standard/tests/url/
H A Dbug54180.phpt2 Bug #54180 (parse_url() incorrectly parses path when ? in fragment)
6 var_dump(parse_url("http://example.com/path/script.html?t=1#fragment?data"));
7 var_dump(parse_url("http://example.com/path/script.html#fragment?data"));
16 ["path"]=>
17 string(17) "/path/script.html"
28 ["path"]=>
29 string(17) "/path/script.html"
H A Dparse_url_variation_001.phpt85 ["path"]=>
91 ["path"]=>
97 ["path"]=>
103 ["path"]=>
109 ["path"]=>
115 ["path"]=>
121 ["path"]=>
127 ["path"]=>
133 ["path"]=>
164 ["path"]=>
[all …]
/PHP-7.1/ext/session/tests/
H A Dsession_get_cookie_params_variation1.phpt27 ini_set("session.cookie_path", "/path");
44 ["path"]=>
56 ["path"]=>
68 ["path"]=>
69 string(5) "/path"
80 ["path"]=>
81 string(5) "/path"
92 ["path"]=>
93 string(5) "/path"
104 ["path"]=>
[all …]
H A Dsession_set_save_handler_sid_001.phpt16 public $path;
18 public function open($path, $name) {
19 if (!$path) {
20 $path = sys_get_temp_dir();
22 $this->path = $path . '/u_sess_' . $name;
31 return @file_get_contents($this->path . $id);
36 return (bool)file_put_contents($this->path . $id, $data);
40 @unlink($this->path . $id);
44 foreach (glob($this->path . '*') as $filename) {
H A Dsession_set_save_handler_sid_002.phpt17 public $path;
19 public function open($path, $name) {
20 if (!$path) {
21 $path = sys_get_temp_dir();
23 $this->path = $path . '/u_sess_' . $name;
32 return @file_get_contents($this->path . $id);
36 return file_put_contents($this->path . $id, $data);
40 @unlink($this->path . $id);
44 foreach (glob($this->path . '*') as $filename) {
82 Next Error: Failed to create session ID: user (path: %s) in %s:%d
H A Dsession_set_save_handler_class_016.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 (string)@file_get_contents($this->path . $id);
41 return (bool)file_put_contents($this->path . $id, $data);
45 @unlink($this->path . $id);
49 foreach (glob($this->path . '*') as $filename) {
H A Dsession_set_save_handler_class_017.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 (string)@file_get_contents($this->path . $id);
41 return (bool)file_put_contents($this->path . $id, $data);
45 @unlink($this->path . $id);
49 foreach (glob($this->path . '*') as $filename) {
H A Dsession_set_save_handler_class_018.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 file_put_contents($this->path . $id, $data)===FALSE ? FALSE : TRUE ;
45 @unlink($this->path . $id);
49 foreach (glob($this->path . '*') as $filename) {
H A Dsession_set_save_handler_iface_003.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);
42 return (bool)file_put_contents($this->path . $id, $data);
46 @unlink($this->path . $id);
50 foreach (glob($this->path . '*') as $filename) {
H A Dsession_set_save_handler_iface_002.phpt22 public function open($path, $name);
31 public $path;
33 public function open($path, $name) {
34 if (!$path) {
35 $path = sys_get_temp_dir();
37 $this->path = $path . '/u_sess_' . $name;
46 return (string)@file_get_contents($this->path . $id);
54 @unlink($this->path . $id);
58 foreach (glob($this->path . '*') as $filename) {
70 return file_put_contents($handler->path . $id, $data);
/PHP-7.1/ext/standard/tests/file/
H A Dglob_variation6.phpt7 $path = dirname(__FILE__);
11 var_dump(glob("$path/*.none"));
12 var_dump(glob("$path/?.none"));
13 var_dump(glob("$path/*{hello,world}.none"));
14 var_dump(glob("$path/*/nothere"));
15 var_dump(glob("$path/[aoeu]*.none"));
16 var_dump(glob("$path/directly_not_exists"));
H A Dglob_variation5.phpt7 $path = dirname(__FILE__);
11 var_dump(glob("$path/*.none"));
12 var_dump(glob("$path/?.none"));
13 var_dump(glob("$path/*{hello,world}.none"));
14 var_dump(glob("$path/*/nothere"));
15 var_dump(glob("$path/[aoeu]*.none"));
16 var_dump(glob("$path/directly_not_exists"));
/PHP-7.1/ext/standard/tests/file/windows_acls/
H A Dcommon.inc154 if (is_file($path)) {
155 unlink($path);
163 if (is_dir($path)) {
165 rmdir($path);
174 if (!is_writable($path)) {
179 delete_file($path);
183 if (!is_writable($path)) {
188 delete_file($path);
190 $path = __DIR__ . '/adir';
192 if (!is_writable($path)) {
[all …]
/PHP-7.1/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc15 protected $path;
16 function __construct($path)
22 $this->path = $path;
27 * @param string relative path within the package
30 function addFile($path, $fileOrStream)
33 $this->zip->addFromString($path, stream_get_contents($fileOrStream));
35 $this->zip->addFromString($path, $fileOrStream);
45 if (true !== $this->zip->open($this->path, ZIPARCHIVE::CREATE)) {
47 'Cannot open ZIP archive ' . $this->path
/PHP-7.1/ext/standard/tests/dir/
H A Dscandir_variation4-win32-mb.phpt36 echo "\n-- \$path = './私はガラスを食べられますlevel_one': --\n";
44 echo "\n-- \$path = '..': --\n";
52 echo "\n-- \$path = '../': --\n";
56 echo "\n-- \$path = './': --\n";
77 -- $path = './私はガラスを食べられますlevel_one': --
92 -- $path = 'level_one/私はガラスを食べられますlevel_two': --
105 -- $path = '..': --
120 -- $path = '私はガラスを食べられますlevel_two', '.': --
133 -- $path = '../': --
148 -- $path = './': --
[all …]
H A Dscandir_variation4.phpt30 echo "\n-- \$path = './level_one': --\n";
38 echo "\n-- \$path = '..': --\n";
46 echo "\n-- \$path = '../': --\n";
50 echo "\n-- \$path = './': --\n";
71 -- $path = './level_one': --
86 -- $path = 'level_one/level_two': --
99 -- $path = '..': --
114 -- $path = 'level_two', '.': --
127 -- $path = '../': --
142 -- $path = './': --
[all …]
H A Dopendir_variation3.phpt5 /* Prototype : mixed opendir(string $path[, resource $context])
11 * Call opendir() twice with the same directory as $path argument
16 $path = dirname(__FILE__) . "/opendir_variation3";
17 mkdir($path);
20 var_dump($dh1 = opendir($path));
23 var_dump($dh2 = opendir($path));
37 $path = dirname(__FILE__) . "/opendir_variation3";
38 rmdir($path);
/PHP-7.1/ext/standard/tests/strings/
H A Durl_t.phpt89 ["path"]=>
94 ["path"]=>
110 ["path"]=>
115 ["path"]=>
124 ["path"]=>
129 ["path"]=>
134 ["path"]=>
150 ["path"]=>
155 ["path"]=>
160 ["path"]=>
[all …]
/PHP-7.1/ext/zip/
H A Dzip_stream.c125 const char *path = stream->orig_path; in php_zip_ops_stat() local
134 fragment = strchr(path, '#'); in php_zip_ops_stat()
141 path += 6; in php_zip_ops_stat()
149 path_len = strlen(path); in php_zip_ops_stat()
175 if (path[path_len-1] != '/') { in php_zip_ops_stat()
234 zf = zip_fopen(stream_za, path, 0); in php_stream_zip_open()
260 const char *path, in php_stream_zip_opener() argument
280 fragment = strchr(path, '#'); in php_stream_zip_opener()
286 path += 6; in php_stream_zip_opener()
294 path_len = strlen(path); in php_stream_zip_opener()
[all …]
/PHP-7.1/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc17 protected $path;
19 function __construct($path, $compress = 'zlib')
30 $this->path = $path;
38 * @param string relative path within the package
41 function addFile($path, $fileOrStream, $stat = null)
71 if (strlen($path) > 255) {
75 } else if (strlen($path) > 100) {
76 $filePrefix = substr($path, 0, strlen($path)-100);
77 $path = substr($path, -100);
81 $path,
[all …]
H A Dcorrupt_tarmaker.php.inc17 protected $path;
19 function __construct($path, $compress = 'zlib')
30 $this->path = $path;
38 * @param string relative path within the package
78 if (strlen($path) > 255) {
82 } else if (strlen($path) > 100) {
83 $filePrefix = substr($path, 0, strlen($path)-100);
84 $path = substr($path, -100);
88 $path,
142 $this->tmp = bzopen($this->path, 'w');
[all …]
H A Dmake.dangerous.tar.php.inc18 protected $path;
20 function __construct($path, $compress = 'zlib')
31 $this->path = $path;
39 * @param string relative path within the package
42 function addFile($path, $fileOrStream, $stat = null)
72 if (strlen($path) > 255) {
76 } else if (strlen($path) > 100) {
77 $filePrefix = substr($path, 0, strlen($path)-100);
78 $path = substr($path, -100);
82 $path,
[all …]
/PHP-7.1/win32/
H A Dregistry.c182 void UpdateIniFromRegistry(char *path) in UpdateIniFromRegistry() argument
187 if(!path) { in UpdateIniFromRegistry()
218 orig_path = path = estrdup(path); in UpdateIniFromRegistry()
221 p = strchr(path, ':'); in UpdateIniFromRegistry()
226 if (path[0] != '\\' && path[0] != '/') { in UpdateIniFromRegistry()
248 orig_path = path; in UpdateIniFromRegistry()
253 while (path[path_len] != 0) { in UpdateIniFromRegistry()
254 if (path[path_len] == '\\') { in UpdateIniFromRegistry()
255 path[path_len] = '/'; in UpdateIniFromRegistry()
259 zend_str_tolower(path, path_len); in UpdateIniFromRegistry()
[all …]
/PHP-7.1/sapi/tests/
H A Dtest004.phpt6 path is in PATH_TRANSLATED. SCRIPT_NAME in this is faked,
11 PATH_INFO=/path/info
15 REDIRECT_URL=/path
16 PATH_TRANSLATED=/path/info/fpp
17 PATH_INFO=/path/info
26 /path/info

Completed in 36 milliseconds

12345678910>>...34