Home
last modified time | relevance | path

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

12345678910>>...35

/PHP-7.3/ext/spl/examples/
H A Dnocvsdir.php32 function __construct($path) argument
34 parent::__construct(new RecursiveDirectoryIterator($path));
/PHP-7.3/ext/opcache/tests/
H A Dblacklist-win32.phpt26 [0] => %c:\path\to\foo
27 [1] => %c:\path\to\foo2
28 [2] => %c:\path\to\bar
/PHP-7.3/ext/session/tests/
H A D016.phpt25 …ssion_start(): Failed to create session data file path. Too short session ID, invalid save_path or…
27 Warning: session_start(): Failed to read session data: files (path: 123;:/really%scompletely:::/inv…
H A Dsession_set_save_handler_variation3.phpt21 $path = dirname(__FILE__);
23 session_save_path($path);
33 Warning: session_save_path(): Cannot change save path when session is active in %s on line 16
/PHP-7.3/ext/phar/tests/
H A Dbug13786.phpt14 $path = dirname(__FILE__) . DIRECTORY_SEPARATOR . $fname;
15 $phar = new Phar($path);
19 unlink($path);
H A Dcreate_path_error.phpt2 Phar: create with illegal path
77 9:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contain…
78 10:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contai…
79 11:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contai…
80 12:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contai…
81 13:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contai…
82 Error: Phar::offsetSet() expects parameter 1 to be a valid path, string given===DONE===
/PHP-7.3/ext/fileinfo/tests/
H A Dfinfo_file_001.phpt17 Warning: finfo_file(): Empty filename or path in %s on line %d
20 Warning: finfo_file(): Empty filename or path in %s on line %d
23 Warning: finfo_file(): Empty filename or path in %s on line %d
/PHP-7.3/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp1250_to_utf8_4.phpt2 Test mkdir/rmdir UTF-8 path with cp1250 specific symbols
23 $path = $prefix . DIRECTORY_SEPARATOR . "${item}42";
25 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
28 var_dump(file_exists($path));
H A Dtest_cp1251_zend_multibyte_1.phpt26 $path = $prefix . DIRECTORY_SEPARATOR . "${item}3";
28 $subpath = $path . DIRECTORY_SEPARATOR . "${item}4";
31 var_dump(file_exists($path));
/PHP-7.3/ext/phar/
H A Dstream.c90 resource->path = zend_string_init(entry, entry_len, 0); in phar_parse_url()
101 fprintf(stderr, "Path: %s\n", ZSTR_VAL(resource->path)); in phar_parse_url()
178 if (!resource->scheme || !resource->host || !resource->path) { in phar_wrapper_open_url()
194 internal_file = estrndup(ZSTR_VAL(resource->path) + 1, ZSTR_LEN(resource->path) - 1); in phar_wrapper_open_url()
700 internal_file = estrndup(ZSTR_VAL(resource->path) + 1, ZSTR_LEN(resource->path) - 1); in phar_wrapper_unlink()
701 internal_file_len = ZSTR_LEN(resource->path) - 1; in phar_wrapper_unlink()
834 …h_str_find_ptr(&(phar->manifest), ZSTR_VAL(resource_from->path)+1, ZSTR_LEN(resource_from->path)-1… in phar_wrapper_rename()
856 entry->filename = estrndup(ZSTR_VAL(resource_to->path)+1, ZSTR_LEN(resource_to->path)-1); in phar_wrapper_rename()
870 …str_exists(&(phar->virtual_dirs), ZSTR_VAL(resource_from->path)+1, ZSTR_LEN(resource_from->path)-1… in phar_wrapper_rename()
886 uint32_t from_len = ZSTR_LEN(resource_from->path) - 1; in phar_wrapper_rename()
[all …]
/PHP-7.3/tests/basic/
H A Dreq60524.phpt4 sys_temp_dir=/path/to/temp/dir
14 /path/to/temp/dir
/PHP-7.3/tests/security/
H A Dopen_basedir_parse_ini_file.phpt40 …basedir restriction in effect. File(%stest\bad) is not within the allowed path(s): (.) in %sopen_b…
45 …restriction in effect. File(%stest\bad\bad.txt) is not within the allowed path(s): (.) in %sopen_b…
50 …pen_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_b…
55 …pen_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_b…
60 …basedir restriction in effect. File(%stest\bad) is not within the allowed path(s): (.) in %sopen_b…
65 …restriction in effect. File(%stest\bad\bad.txt) is not within the allowed path(s): (.) in %sopen_b…
70 …pen_basedir restriction in effect. File(%stest) is not within the allowed path(s): (.) in %sopen_b…
H A Dopen_basedir_fopen.phpt41 Warning: fopen(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
46 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
51 Warning: fopen(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (…
56 Warning: fopen(): open_basedir restriction in effect. File(../) is not within the allowed path(s): …
61 Warning: fopen(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.…
66 Warning: fopen(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path
71 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li…
76 Warning: fopen(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s…
H A Dopen_basedir_mkdir.phpt39 …asedir restriction in effect. File(../bad/blah) is not within the allowed path(s): (.) in %s on li…
42 Warning: mkdir(): open_basedir restriction in effect. File(../blah) is not within the allowed path(…
45 …edir restriction in effect. File(../bad/./blah) is not within the allowed path(s): (.) in %s on li…
48 …asedir restriction in effect. File(./.././blah) is not within the allowed path(s): (.) in %s on li…
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…
/PHP-7.3/ext/standard/tests/file/
H A Dpathinfo_basic2-win32.phpt12 /* Prototype: mixed pathinfo ( string $path [, int $options] );
13 Description: Returns information about a file path
38 /* loop through $paths to test each $path in the above array */
39 foreach($paths as $path) {
41 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
42 var_dump( pathinfo($path, PATHINFO_BASENAME) );
43 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
44 var_dump( pathinfo($path, PATHINFO_FILENAME) );
45 var_dump( pathinfo($path) );
H A Dpathinfo_basic2.phpt12 /* Prototype: mixed pathinfo ( string $path [, int $options] );
13 Description: Returns information about a file path
38 /* loop through $paths to test each $path in the above array */
39 foreach($paths as $path) {
41 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
42 var_dump( pathinfo($path, PATHINFO_BASENAME) );
43 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
44 var_dump( pathinfo($path, PATHINFO_FILENAME) );
45 var_dump( pathinfo($path) );
H A Dis_writable_variation1.phpt2 Test is_writable() and its alias is_writeable() function: usage variations - diff. path notations
100 Warning: is_writable() expects parameter 1 to be a valid path, string given in %s on line %d
103 Warning: is_writeable() expects parameter 1 to be a valid path, string given in %s on line %d
107 Warning: is_writable() expects parameter 1 to be a valid path, string given in %s on line %d
110 Warning: is_writeable() expects parameter 1 to be a valid path, string given in %s on line %d
114 Warning: is_writable() expects parameter 1 to be a valid path, string given in %s on line %d
117 Warning: is_writeable() expects parameter 1 to be a valid path, string given in %s on line %d
/PHP-7.3/ext/standard/tests/dir/
H A Ddir_variation3.phpt98 ["path"]=>
109 ["path"]=>
120 ["path"]=>
131 ["path"]=>
142 ["path"]=>
153 ["path"]=>
164 ["path"]=>
175 ["path"]=>
186 ["path"]=>
197 ["path"]=>
H A Dopendir_basic-win32-mb.phpt11 /* Prototype : mixed opendir(string $path[, resource $context])
17 * Test basic functionality of opendir() with absolute and relative paths as $path argument
34 echo "\n-- Testing opendir() with absolute path: --\n";
58 -- Testing opendir() with absolute path: --
H A Dopendir_basic.phpt5 /* Prototype : mixed opendir(string $path[, resource $context])
11 * Test basic functionality of opendir() with absolute and relative paths as $path argument
28 echo "\n-- Testing opendir() with absolute path: --\n";
52 -- Testing opendir() with absolute path: --
/PHP-7.3/ext/standard/tests/general_functions/
H A Dbug44295.phpt6 if (!extension_loaded("spl") || is_dir('/this/path/does/not/exist')) die("skip");
10 $dir = '/this/path/does/not/exist';
28 in catch: DirectoryIterator::__construct(/this/path/does/not/exist): failed to open dir: No such fi…
/PHP-7.3/ext/spl/examples/tests/
H A Dexamples.inc5 function __construct($path, $classes)
10 $this->append($path . '/' . strtolower($c) . '.inc');
/PHP-7.3/scripts/dev/
H A Dfind_tested.php186 $path = $thisdir->path.$file;
187 if(is_dir($path) == true) {
188 get_phpt_files($path , $phpt_file_count , $all_phpt);
191 $all_phpt[$phpt_file_count] = $path;
/PHP-7.3/ext/standard/
H A Dphp_fopen_wrappers.h24 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mod…
25 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode…

Completed in 39 milliseconds

12345678910>>...35