Home
last modified time | relevance | path

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

12345678910>>...34

/php-src/ext/standard/tests/strings/
H A Dbasename_variation.phpt53 /* path with spaces */
64 foreach ($path_arrays as $path) {
66 if( 1 == count($path) ) { // no suffix provided
67 var_dump( basename($path[0]) );
68 } else { // path as well as suffix provided,
69 var_dump( basename($path[0], $path[1]) );
74 echo "*** Testing possible variations in path and suffix ***\n";
80 *** Testing possible variations in path and suffix ***
H A Ddirname_variation.phpt27 /* path containing numeric string */
39 /* path as spaces */
43 /* empty path */
59 echo "*** Testing possible variations in path ***\n";
65 \*\*\* Testing possible variations in path \*\*\*
/php-src/tests/security/
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…
H A Dopen_basedir_file.phpt32 Warning: file(): open_basedir restriction in effect. File(../bad) is not within the allowed path(s)…
37 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
42 Warning: file(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.…
47 Warning: file(): open_basedir restriction in effect. File(../) is not within the allowed path(s): (…
52 Warning: file(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.)…
57 Warning: file(): open_basedir restriction in effect. File(../bad/.) is not within the allowed path(…
62 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
67 …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_get_contents.phpt32 …pen_basedir restriction in effect. File(../bad) is not within the allowed path(s): (.) in %s on li…
37 …dir restriction in effect. File(../bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
42 …): open_basedir restriction in effect. File(..) is not within the allowed path(s): (.) in %s on li…
47 …: open_basedir restriction in effect. File(../) is not within the allowed path(s): (.) in %s on li…
52 …(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (.) in %s on li…
57 …n_basedir restriction in effect. File(../bad/.) is not within the allowed path(s): (.) in %s on li…
62 …estriction in effect. File(%s/test/bad/bad.txt) is not within the allowed path(s): (.) in %s on li…
67 …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_rename.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-src/ext/sockets/tests/
H A Dsocket_abstract_path.phpt15 $path = "\x00/foo_bar";
19 socket_bind($servers, $path) or die("Could not bind");
25 socket_connect($clients, $path) or die("Error connecting");
30 //"name" => [ "addr" => $path, ],
/php-src/ext/posix/
H A Dposix.c585 zend_string *path; in PHP_FUNCTION() local
613 zend_string *path; in PHP_FUNCTION() local
704 char *filename, *path; in PHP_FUNCTION() local
713 if (!path) { in PHP_FUNCTION()
719 efree(path); in PHP_FUNCTION()
725 efree(path); in PHP_FUNCTION()
740 char *filename, *path; in PHP_FUNCTION() local
749 if (!path) { in PHP_FUNCTION()
755 efree(path); in PHP_FUNCTION()
761 efree(path); in PHP_FUNCTION()
[all …]
/php-src/ext/opcache/tests/
H A Dopcache-1.blacklist4 /path/to/foo
5 "/path/to/foo2"
H A Dblacklist-win32.phpt27 [0] => %c:\path\to\foo
28 [1] => %c:\path\to\foo2
29 [2] => %c:\path\to\bar
/php-src/ext/zlib/
H A Dzlib_fopen_wrapper.c108 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int … in php_stream_gzopen() argument
122 if (strncasecmp("compress.zlib://", path, 16) == 0) { in php_stream_gzopen()
123 path += 16; in php_stream_gzopen()
124 } else if (strncasecmp("zlib:", path, 5) == 0) { in php_stream_gzopen()
125 path += 5; in php_stream_gzopen()
128 …innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST… in php_stream_gzopen()
/php-src/ext/standard/tests/file/
H A Dchmod_variation2.phpt24 echo "chmod() on a path containing .. and .\n";
30 echo "\nchmod() on a path containing .. with invalid directories\n";
45 echo "\nchmod() on a relative path from a different working directory\n";
65 chmod() on a path containing .. and .
70 chmod() on a path containing .. with invalid directories
84 chmod() on a relative path from a different working directory
H A Drealpath_variation2.phpt26 foreach($paths as $path) {
27 echo "\n--$path--\n";
28 var_dump( realpath($path) );
/php-src/ext/standard/tests/network/
H A Dsetcookie.phpt15 setcookie('name', 'value', 0, '/path/');
21 setcookie('name', 'value', ['expires' => $tsn, 'path' => '/path/', 'domain' => 'domain.tld', 'secur…
32 'Set-Cookie: name=value; path=/path/',
37 …'Set-Cookie: name=value; expires='.date('D, d M Y H:i:s', $tsn).' GMT; Max-Age=0; path=/path/; dom…
/php-src/tests/basic/
H A Dreq60524.phpt4 sys_temp_dir=/path/to/temp/dir
8 /path/to/temp/dir
/php-src/ext/phar/tests/
H A Dbug13786.phpt14 $path = __DIR__ . DIRECTORY_SEPARATOR . $fname;
15 $phar = new Phar($path);
19 unlink($path);
/php-src/ext/bz2/
H A Dphp_bz2.h49 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, const char *path, const ch…
53 #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper)… argument
/php-src/ext/opcache/jit/ir/
H A Dir_perf.c118 char path[PATH_MAX]; in ir_perf_jitdump_open() local
119 size_t pathlen = sizeof(path); in ir_perf_jitdump_open()
121 if (sysctl(mib, 4, path, &pathlen, NULL, 0) == -1) { in ir_perf_jitdump_open()
124 fd = open(path, O_RDONLY); in ir_perf_jitdump_open()
128 char path[PATH_MAX]; in ir_perf_jitdump_open() local
130 NULL, path, sizeof(path)) != B_OK) { in ir_perf_jitdump_open()
134 fd = open(path, O_RDONLY); in ir_perf_jitdump_open()
/php-src/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_variation4.phpt25 $path = __DIR__ . '/session_set_save_handler_variation4';
26 @mkdir($path);
27 session_save_path($path);
48 $path = __DIR__ . '/session_set_save_handler_variation4';
49 rmdir($path);
/php-src/ext/standard/tests/dir/
H A Ddir_variation3.phpt84 ["path"]=>
95 ["path"]=>
106 ["path"]=>
117 ["path"]=>
128 ["path"]=>
139 ["path"]=>
150 ["path"]=>
161 ["path"]=>
172 ["path"]=>
183 ["path"]=>
H A Dscandir_error2.phpt19 echo "\n-- Pass scandir() an absolute path that does not exist --\n";
22 echo "\n-- Pass scandir() a relative path that does not exist --\n";
28 -- Pass scandir() an absolute path that does not exist --
35 -- Pass scandir() a relative path that does not exist --
/php-src/scripts/dev/
H A Dtidy.php53 $path = $file->getPathName(); variable
55 if (strpos($path, $exclude) !== false) {
65 $origCode = $code = file_get_contents($path);
83 file_put_contents($path, $code);
/php-src/ext/session/tests/
H A D016.phpt21 …ssion_start(): Failed to create session data file path. Too short session ID, invalid save_path or…
23 Warning: session_start(): Failed to read session data: files (path: 123;:/really%scompletely:::/inv…
/php-src/ext/spl/tests/
H A Dgh11338.phpt6 function test($path) {
7 echo "Testing: '$path'\n";
8 $file = new \SplFileInfo($path);
/php-src/ext/standard/tests/streams/
H A Dbug76857.phpt6 $path = "foobar://google.com/../../bug76857_data.txt";
8 var_dump(file_exists($path));
9 var_dump(file_get_contents($path, false, null, 0, 10));

Completed in 35 milliseconds

12345678910>>...34