Home
last modified time | relevance | path

Searched refs:path (Results 226 – 250 of 842) sorted by relevance

12345678910>>...34

/php-src/ext/phar/tests/
H A Dbug46178.phpt13 $phar['long/path/name.txt'] = 'hi';
14 $phar->addEmptyDir('long/path');
H A Dcreate_path_error.phpt2 Phar: create with illegal path
76 9:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contain…
77 10:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai…
78 11:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai…
79 12:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai…
80 13:Error: file_put_contents(phar://%s): Failed to open stream: phar error: invalid path "%s" contai…
H A Dphar_createdefaultstub.phpt215 if ($path[strlen($path) - 1] == '/') {
216 @mkdir($temp . '/' . $path, 0777);
218 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
219 @chmod($temp . '/' . $path, 0666);
509 if ($path[strlen($path) - 1] == '/') {
510 @mkdir($temp . '/' . $path, 0777);
512 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
513 @chmod($temp . '/' . $path, 0666);
811 if ($path[strlen($path) - 1] == '/') {
812 @mkdir($temp . '/' . $path, 0777);
[all …]
H A Dphar_setdefaultstub.phpt235 if ($path[strlen($path) - 1] == '/') {
236 @mkdir($temp . '/' . $path, 0777);
238 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
239 @chmod($temp . '/' . $path, 0666);
530 if ($path[strlen($path) - 1] == '/') {
531 @mkdir($temp . '/' . $path, 0777);
533 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp));
534 @chmod($temp . '/' . $path, 0666);
825 if ($path[strlen($path) - 1] == '/') {
826 @mkdir($temp . '/' . $path, 0777);
[all …]
/php-src/ext/standard/tests/streams/
H A Dbug77765.phpt13 $path = "ftp://localhost:" . $port."/www";
15 var_dump(stat($path)['mode']);
H A Dbug60455_03.phpt10 function stream_open($path, $mode, $options, &$opened_path) {
12 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n");
13 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:
H A Dopendir-002.phpt13 $path="ftp://localhost:" . $port."/";
15 $ds=opendir($path);
/php-src/ext/standard/tests/dir/
H A Ddir_variation9.phpt13 * have valid and invalid relative path.
44 // open the directory with invalid path
74 ["path"]=>
80 ["path"]=>
86 ["path"]=>
92 ["path"]=>
H A Dopendir_basic.phpt6 * Test basic functionality of opendir() with absolute and relative paths as $path argument
24 echo "\n-- Testing opendir() with absolute path: --\n";
48 -- Testing opendir() with absolute path: --
/php-src/
H A Dbuildconf47 PHP_AUTOCONF Overrides the path to autoconf tool.
48 PHP_AUTOCONF=/path/to/autoconf ./buildconf
49 PHP_AUTOHEADER Overrides the path to autoheader tool.
50 PHP_AUTOHEADER=/path/to/autoheader ./buildconf
/php-src/ext/zlib/tests/
H A Dcompress_zlib_wrapper.phpt11 // Relative path
15 // Absolute path
/php-src/tests/run-test/
H A Dtest007.phpt10 function check_dirname($path) {
12 $path1 = str_replace("%",$s,$path);
15 print "dirname($path) == $path3\n";
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dtest_long_path_mkdir.phpt2 Mkdir with path length < 260 and > 248 has be a long path
11 die("skip the starting path length is unsuitable for this test");
H A Dtest_cp874_0.phpt38 $path = __DIR__ . DIRECTORY_SEPARATOR . $name . ".txt";
40 file_put_contents($path, "hello" . $i++);
42 get_basename_with_cp($path, 874);
43 var_dump(file_get_contents($path));
45 unlink($path);
H A Dtest_long_path_2.phpt2 Basic long path test with file I/O, multibyte path and realpath() check
26 /* path doesn't exist at this point! */
34 /* path exists now, ensure realpath() works! */
/php-src/ext/phar/
H A Dutil.c173 if (phar_path_check(&path, &path_len, &err) > pcr_is_ok) { in phar_mount_entry()
185 entry.filename = estrndup(path, path_len); in phar_mount_entry()
245 char *path, *arch, *entry, *test; in phar_find_in_include_path() local
321 efree(path); in phar_find_in_include_path()
520 phar_unixify_path_separators(path, path_len); in phar_get_or_create_entry_data()
523 is_dir = (path_len && path[path_len - 1] == '/') ? 1 : 0; in phar_get_or_create_entry_data()
579 phar_add_virtual_dirs(phar, path, path_len); in phar_get_or_create_entry_data()
584 etemp.filename = estrndup(path, path_len); in phar_get_or_create_entry_data()
1216 phar_unixify_path_separators(path, path_len); in phar_get_entry_info_dir()
1219 is_dir = (path_len && (path[path_len - 1] == '/')) ? 1 : 0; in phar_get_entry_info_dir()
[all …]
/php-src/tests/security/
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-src/ext/session/tests/user_session_module/
H A Dsession_set_save_handler_variation6.phpt20 $path = __DIR__ . '/session_set_save_handler_variation6';
21 @mkdir($path);
22 session_save_path($path);
60 $path = __DIR__ . '/session_set_save_handler_variation6';
61 rmdir($path);
/php-src/ext/standard/tests/url/
H A Dbug68917.phpt13 [path] => /hi
20 [path] => /hi
/php-src/ext/phar/phar/
H A Ddirectorygraphiterator.inc19 function __construct($path)
24 … new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
/php-src/ext/standard/tests/file/
H A Dpathinfo_basic2-win32.phpt34 /* loop through $paths to test each $path in the above array */
35 foreach($paths as $path) {
37 var_dump( pathinfo($path, PATHINFO_DIRNAME) );
38 var_dump( pathinfo($path, PATHINFO_BASENAME) );
39 var_dump( pathinfo($path, PATHINFO_EXTENSION) );
40 var_dump( pathinfo($path, PATHINFO_FILENAME) );
41 var_dump( pathinfo($path) );
/php-src/ext/curl/tests/
H A Dcurl_basic_022.phpt9 …PT_COOKIELIST, 'Set-Cookie: C1=v1; expires=Thu, 31-Dec-2037 23:59:59 GMT; path=/; domain=.php.net'…
10 …PT_COOKIELIST, 'Set-Cookie: C2=v2; expires=Thu, 31-Dec-2037 23:59:59 GMT; path=/; domain=.php.net'…
/php-src/ext/dom/tests/
H A DDOMDocument_schemaValidate_error6.phpt2 DomDocument::schemaValidate() - invalid path to schema
13 $doc->schemaValidate("/path/with/\0/byte");
/php-src/ext/standard/tests/network/
H A Dbug69948.phpt2 Bug #69948 (path/domain are not sanitized for special characters in setcookie)
20 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"

Completed in 43 milliseconds

12345678910>>...34