Home
last modified time | relevance | path

Searched refs:path (Results 176 – 200 of 720) sorted by relevance

12345678910>>...29

/PHP-7.0/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.0/sapi/litespeed/
H A Dlsapi_main.c585 int len = (int)strlen(path); in pathlen_without_trailing_slash()
587 path[len-1] == DEFAULT_SLASH) in pathlen_without_trailing_slash()
649 char *path; member
670 if (!ctx->path || !*ctx->path) { in lsapi_activate_user_ini_basic_checks()
687 char *path; in lsapi_activate_user_ini_mk_path() local
692 ctx->path_len = strlen(ctx->path); in lsapi_activate_user_ini_mk_path()
693 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path()
694 if (!path) in lsapi_activate_user_ini_mk_path()
703 efree(path); in lsapi_activate_user_ini_mk_path()
719 ctx->path = real_path; in lsapi_activate_user_ini_mk_realpath()
[all …]
/PHP-7.0/ext/standard/tests/dir/
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.0/tests/security/
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…
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-7.0/ext/session/tests/
H A Dsession_set_cookie_params_variation2.phpt4 session.cookie_path=/path
13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo…
37 string(5) "/path"
/PHP-7.0/ext/phar/tests/
H A Dcreate_path_error.phpt2 Phar: create with illegal path
78 9:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contain…
79 10:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contai…
80 11:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contai…
81 12:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contai…
82 13:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contai…
83 Error: Phar::offsetSet() expects parameter 1 to be a valid path, string given===DONE===
/PHP-7.0/ext/standard/tests/file/
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
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";
H A Ddirname_basic.phpt12 /* Prototype : string dirname(string path)
13 * Description: Returns the directory name component of the path
55 foreach ($paths as $path) {
56 var_dump( dirname($path) );
H A Dreadfile_variation6.phpt2 Test readfile() function : variation - test include path
38 fwrite($h, "File in include path");
49 File in include path
H A Dbasename-win32.phpt14 * proto string basename(string path [, string suffix])
90 /* path with spaces */
102 foreach ($path_arrays as $path) {
104 if( 1 == count($path) ) { // no suffix provided
105 var_dump( basename($path[0]) );
106 } else { // path as well as suffix provided,
107 var_dump( basename($path[0], $path[1]) );
115 echo "\n*** Testing possible variations in path and suffix ***\n";
215 *** Testing possible variations in path and suffix ***
/PHP-7.0/ext/standard/
H A Dphp_fopen_wrappers.h26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mod…
27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode…
/PHP-7.0/ext/pcre/
H A Dupgrade-pcre.php32 function recurse($path) argument
36 foreach (scandir($path) as $file) {
44 $file = "$path/$file";
/PHP-7.0/ext/phar/
H A Dstream.c89 resource->path = entry; in phar_parse_url()
98 fprintf(stderr, "Path: %s\n", resource->path); in phar_parse_url()
191 internal_file = estrdup(resource->path + 1); in phar_wrapper_open_url()
597 internal_file = resource->path + 1; /* strip leading "/" */ in phar_wrapper_stat()
716 internal_file = estrdup(resource->path + 1); in phar_wrapper_unlink()
850 …= zend_hash_str_find_ptr(&(phar->manifest), resource_from->path+1, strlen(resource_from->path)-1))… in phar_wrapper_rename()
870 …entry = zend_hash_str_add_mem(&(phar->manifest), resource_to->path+1, strlen(resource_to->path)-1,… in phar_wrapper_rename()
872 entry->filename = estrdup(resource_to->path+1); in phar_wrapper_rename()
886 … zend_hash_str_exists(&(phar->virtual_dirs), resource_from->path+1, strlen(resource_from->path)-1); in phar_wrapper_rename()
902 uint from_len = strlen(resource_from->path+1); in phar_wrapper_rename()
[all …]
H A Dutil.c177 if (phar_path_check(&path, &path_len, &err) > pcr_is_ok) { in phar_mount_entry()
189 entry.filename = estrndup(path, path_len); in phar_mount_entry()
256 char *path, *fname, *arch, *entry, *test; in phar_find_in_include_path() local
321 ret = php_resolve_path(filename, filename_len, path); in phar_find_in_include_path()
322 efree(path); in phar_find_in_include_path()
527 phar_unixify_path_separators(path, path_len); in phar_get_or_create_entry_data()
530 is_dir = (path_len && path[path_len - 1] == '/') ? 1 : 0; in phar_get_or_create_entry_data()
586 phar_add_virtual_dirs(phar, path, path_len); in phar_get_or_create_entry_data()
591 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data()
1226 phar_unixify_path_separators(path, path_len); in phar_get_entry_info_dir()
[all …]
/PHP-7.0/ext/standard/tests/streams/
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-7.0/main/streams/
H A Dstreams.c152 char *tmp = estrdup(path); in php_stream_display_wrapper_errors()
1759 *path_for_open = (char*)path;
1771 protocol = path;
1807 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/' && path[n+4] != ':') {
1809 if (localhost == 0 && path[n+3] != '\0' && path[n+3] != '/') {
1968 if (!path || !*path) {
1972 path_to_open = path;
2024 if (!path || !*path) {
2030 resolved_path = zend_resolve_path(path, (int)strlen(path));
2039 path_to_open = path;
[all …]
/PHP-7.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-7.0/ext/standard/tests/url/
H A Dbug68917.phpt13 [path] => /hi
20 [path] => /hi
/PHP-7.0/ext/spl/examples/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-7.0/ext/phar/phar/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-7.0/ext/
H A Dext_skel_win32.php21 $path = getenv("PATH"); variable
22 putenv("PATH=$cygwin_path;$path");

Completed in 91 milliseconds

12345678910>>...29