Home
last modified time | relevance | path

Searched refs:path (Results 126 – 150 of 720) sorted by relevance

12345678910>>...29

/PHP-7.0/ext/standard/tests/file/
H A Dsymlink_to_symlink.phpt2 symlink() using a relative path, and symlink() to a symlink
18 // symlink to a symlink using a relative path
21 // symlink to a non-existent path
25 // symlink to a regular file using an absolute path
28 // symlink to a symlink using an absolute path
H A Dfile_put_contents_variation6.phpt2 Test file_put_contents() function : variation - include path testing
41 // in the include path. In this case it doesn't so the file should be written in the current dir.
43 file_put_contents($filename, (binary) "File in include path", FILE_USE_INCLUDE_PATH);
54 File in include path. This was appended
55 File in include path. This was appended
H A Ddisk_free_space_variation.phpt109 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d
112 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
117 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d
120 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
125 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d
128 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
133 Warning: disk_free_space() expects parameter 1 to be a valid path, string given in %s on line %d
136 Warning: diskfreespace() expects parameter 1 to be a valid path, string given in %s on line %d
H A Dbasename_error.phpt5 /* Prototype : string basename(string path [, string suffix])
6 * Description: Returns the filename component of the path
19 $path = 'string_val';
22 var_dump( basename($path, $suffix, $extra_arg) );
/PHP-7.0/ext/session/tests/
H A Dsession_set_cookie_params_variation4.phpt13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo…
21 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
25 var_dump(session_set_cookie_params(3600, "/path", "blah", TRUE));
29 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
H A Dsession_set_cookie_params_variation3.phpt13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo…
21 var_dump(session_set_cookie_params(3600, "/path", "blah"));
25 var_dump(session_set_cookie_params(3600, "/path", "guff"));
29 var_dump(session_set_cookie_params(3600, "/path", "foo"));
H A Dsession_set_cookie_params_variation5.phpt13 …* Prototype : void session_set_cookie_params(int $lifetime [, string $path [, string $domain [, bo…
21 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE));
25 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, TRUE));
29 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE));
H A Dbug61470.phpt10 $path = ini_get('session.save_path') . '/sess_';
13 $file1 = $path . session_id();
18 $file2 = $path . session_id();
H A D016.phpt25 …ssion_start(): Failed to create session data file path. Too short session ID, invalid save_path or…
27 …write_close(): Failed to create session data file path. Too short session ID, invalid save_path or…
/PHP-7.0/ext/spl/examples/
H A Ddirectorytreeiterator.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path)
26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-7.0/ext/phar/phar/
H A Ddirectorytreeiterator.inc19 /** Construct from a path.
20 * @param $path directory to iterate
22 function __construct($path)
26 new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/PHP-7.0/ext/spl/tests/
H A Dfileobject_005.phpt11 $path = dirname(__FILE__).DIRECTORY_SEPARATOR.'fileobject_005.txt';
12 touch($path);
31 $path = dirname(__FILE__).DIRECTORY_SEPARATOR.'fileobject_005.txt';
32 unlink($path);
/PHP-7.0/ext/exif/
H A Dtest.txt65 //error_log("search_file($root,$path)",0);
66 if ($dir = @opendir($root.$path.'/')) {
88 //error_log("search_file($root$path) add:$path/$found",0);
118 $path = $argv[1];
120 $path = $_SERVER['SCRIPT_FILENAME'];
121 //error_log("SCRIPT_FILENAME($path)",0);
123 $path = $argv[0];
124 //error_log("argv($path)",0);
126 if ( ($p=strpos($path,'?')) !== false) $path = substr($path,0,$p);
127 if ( ($p=strrpos($path,'/')) /*< strlen($path)-1*/) $path = substr($path,0,$p);
[all …]
/PHP-7.0/sapi/phpdbg/tests/
H A Dphpdbg_get_executable_stream_wrapper.phpt29 string $path,
38 list($scheme, $path) = explode('://', $path, 2);
40 $stream = \fopen($path, $mode);
50 * *actual* path that was opened. This affects the behaviour of
53 $openedPath = \realpath($path);
/PHP-7.0/ext/sockets/tests/
H A Dsocket_abstract_path_sendmsg.phpt16 $path = "\x00/bar_foo";
24 socket_bind($s, $path) or die("err");
27 "name" => [ "path" => $path],
/PHP-7.0/tests/security/
H A Dopen_basedir_symlink.phpt55 …iction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s): (.) in %s on li…
58 …estriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s): (.) in %s on li…
61 …iction in effect. File(%s/test/bad/symlink.txt) is not within the allowed path(s): (.) in %s on li…
64 …estriction in effect. File(%s/test/symlink.txt) is not within the allowed path(s): (.) in %s on li…
67 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
70 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
73 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
76 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
79 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_rmdir.phpt32 Warning: rmdir(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s…
35 Warning: rmdir(): open_basedir restriction in effect. File(.././bad) is not within the allowed path
38 …edir restriction in effect. File(../bad/../bad) is not within the allowed path(s): (.) in %s on li…
41 …basedir restriction in effect. File(./.././bad) is not within the allowed path(s): (.) in %s on li…
44 …asedir restriction in effect. File(%s/test/bad) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_readlink.phpt52 …asedir restriction in effect. File(symlink.txt) is not within the allowed path(s): (.) in %s on li…
55 … restriction in effect. File(../ok/symlink.txt) is not within the allowed path(s): (.) in %s on li…
58 …estriction in effect. File(../ok/./symlink.txt) is not within the allowed path(s): (.) in %s on li…
61 …edir restriction in effect. File(./symlink.txt) is not within the allowed path(s): (.) in %s on li…
64 …riction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on li…
67 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
70 …riction in effect. File(%s/test/ok/symlink.txt) is not within the allowed path(s): (.) in %s on li…
H A Dopen_basedir_copy.phpt36 Warning: copy(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)…
41 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
46 Warning: copy(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.…
51 Warning: copy(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (…
56 Warning: copy(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.)…
61 Warning: copy(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(…
66 …r restriction in effect. File(../bad/./bad.txt) is not within the allowed path(s): (.) in %s on li…
71 Warning: copy(): open_basedir restriction in effect. File(./../.) is not within the allowed path(s)…
H A Dopen_basedir_opendir.phpt30 Warning: opendir(): open_basedir restriction in effect. File(../bad) is not within the allowed path
35 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
40 Warning: opendir(): open_basedir restriction in effect. File(..) is not within the allowed path(s):…
45 Warning: opendir(): open_basedir restriction in effect. File(../) is not within the allowed path(s)…
50 Warning: opendir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): …
55 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
60 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
65 …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_unlink.phpt32 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
35 …r restriction in effect. File(.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
38 …triction in effect. File(../bad/../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
41 …restriction in effect. File(./.././bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
44 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
/PHP-7.0/ext/standard/tests/dir/
H A Dscandir_error2.phpt12 * Description: List files & directories inside the specified path
24 echo "\n-- Pass scandir() an absolute path that does not exist --\n";
27 echo "\n-- Pass scandir() a relative path that does not exist --\n";
34 -- Pass scandir() an absolute path that does not exist --
41 -- Pass scandir() a relative path that does not exist --
/PHP-7.0/ext/standard/tests/strings/
H A Dbasename_variation.phpt5 /* Prototype: string basename ( string $path [, string $suffix] );
6 Description: Given a string containing a path to a file,
62 /* path with spaces */
74 foreach ($path_arrays as $path) {
76 if( 1 == count($path) ) { // no suffix provided
77 var_dump( basename($path[0]) );
78 } else { // path as well as suffix provided,
79 var_dump( basename($path[0], $path[1]) );
84 echo "*** Testing possible variations in path and suffix ***\n";
90 *** Testing possible variations in path and suffix ***
H A Dbasename_basic.phpt5 /* Prototype: string basename ( string $path [, string $suffix] );
6 Description: Given a string containing a path to a file,
60 foreach ($path_arrays as $path) {
62 if( 1 == count($path) ) { // no suffix provided
63 var_dump( basename($path[0]) );
64 } else { // path as well as suffix provided,
65 var_dump( basename($path[0], $path[1]) );
/PHP-7.0/ext/zlib/
H A Dzlib_fopen_wrapper.c113 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int … in php_stream_gzopen() argument
127 if (strncasecmp("compress.zlib://", path, 16) == 0) { in php_stream_gzopen()
128 path += 16; in php_stream_gzopen()
129 } else if (strncasecmp("zlib:", path, 5) == 0) { in php_stream_gzopen()
130 path += 5; in php_stream_gzopen()
133 …innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST… in php_stream_gzopen()

Completed in 35 milliseconds

12345678910>>...29