/php-src/ext/standard/tests/strings/ |
H A D | basename_variation.phpt | 53 /* 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 D | dirname_variation.phpt | 27 /* 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 D | open_basedir_unlink.phpt | 32 …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 D | open_basedir_file.phpt | 32 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 D | open_basedir_file_get_contents.phpt | 32 …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 D | open_basedir_rename.phpt | 32 …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 D | socket_abstract_path.phpt | 15 $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 D | posix.c | 584 zend_string *path; in PHP_FUNCTION() local 612 zend_string *path; in PHP_FUNCTION() local 703 char *filename, *path; in PHP_FUNCTION() local 712 if (!path) { in PHP_FUNCTION() 718 efree(path); in PHP_FUNCTION() 724 efree(path); in PHP_FUNCTION() 739 char *filename, *path; in PHP_FUNCTION() local 748 if (!path) { in PHP_FUNCTION() 754 efree(path); in PHP_FUNCTION() 760 efree(path); in PHP_FUNCTION() [all …]
|
/php-src/ext/opcache/tests/ |
H A D | opcache-1.blacklist | 4 /path/to/foo 5 "/path/to/foo2"
|
H A D | blacklist-win32.phpt | 27 [0] => %c:\path\to\foo 28 [1] => %c:\path\to\foo2 29 [2] => %c:\path\to\bar
|
/php-src/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 108 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 D | chmod_variation2.phpt | 24 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 D | realpath_variation2.phpt | 26 foreach($paths as $path) { 27 echo "\n--$path--\n"; 28 var_dump( realpath($path) );
|
/php-src/ext/standard/tests/network/ |
H A D | setcookie.phpt | 15 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 D | req60524.phpt | 4 sys_temp_dir=/path/to/temp/dir 8 /path/to/temp/dir
|
/php-src/ext/phar/tests/ |
H A D | bug13786.phpt | 14 $path = __DIR__ . DIRECTORY_SEPARATOR . $fname; 15 $phar = new Phar($path); 19 unlink($path);
|
/php-src/ext/bz2/ |
H A D | php_bz2.h | 49 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 D | ir_perf.c | 118 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 D | session_set_save_handler_variation4.phpt | 25 $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 D | dir_variation3.phpt | 84 ["path"]=> 95 ["path"]=> 106 ["path"]=> 117 ["path"]=> 128 ["path"]=> 139 ["path"]=> 150 ["path"]=> 161 ["path"]=> 172 ["path"]=> 183 ["path"]=>
|
H A D | scandir_error2.phpt | 19 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 D | tidy.php | 53 $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 D | 016.phpt | 21 …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 D | gh11338.phpt | 6 function test($path) { 7 echo "Testing: '$path'\n"; 8 $file = new \SplFileInfo($path);
|
/php-src/ext/standard/tests/streams/ |
H A D | bug76857.phpt | 6 $path = "foobar://google.com/../../bug76857_data.txt"; 8 var_dump(file_exists($path)); 9 var_dump(file_get_contents($path, false, null, 0, 10));
|