/php-src/ext/phar/tests/ |
H A D | bug46178.phpt | 13 $phar['long/path/name.txt'] = 'hi'; 14 $phar->addEmptyDir('long/path');
|
H A D | create_path_error.phpt | 2 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 D | phar_createdefaultstub.phpt | 215 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 D | phar_setdefaultstub.phpt | 235 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 D | bug77765.phpt | 13 $path = "ftp://localhost:" . $port."/www"; 15 var_dump(stat($path)['mode']);
|
H A D | bug60455_03.phpt | 10 function stream_open($path, $mode, $options, &$opened_path) { 12 $this->lines[] = ($path == "test://nonempty2nd" ? "b\n" : "\n"); 13 if ($path == "test://eofafter2nd")
|
H A D | stream_get_meta_data_file_variation4.phpt | 2 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 D | opendir-002.phpt | 13 $path="ftp://localhost:" . $port."/"; 15 $ds=opendir($path);
|
/php-src/ext/standard/tests/dir/ |
H A D | dir_variation9.phpt | 13 * have valid and invalid relative path. 44 // open the directory with invalid path 74 ["path"]=> 80 ["path"]=> 86 ["path"]=> 92 ["path"]=>
|
H A D | opendir_basic.phpt | 6 * 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 D | buildconf | 47 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 D | compress_zlib_wrapper.phpt | 11 // Relative path 15 // Absolute path
|
/php-src/tests/run-test/ |
H A D | test007.phpt | 10 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 D | test_long_path_mkdir.phpt | 2 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 D | test_cp874_0.phpt | 38 $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 D | test_long_path_2.phpt | 2 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 D | util.c | 173 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 D | open_basedir_file_put_contents.phpt | 32 …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 D | session_set_save_handler_variation6.phpt | 20 $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 D | bug68917.phpt | 13 [path] => /hi 20 [path] => /hi
|
/php-src/ext/phar/phar/ |
H A D | directorygraphiterator.inc | 19 function __construct($path) 24 … new RecursiveDirectoryIterator($path, RecursiveDirectoryIterator::KEY_AS_FILENAME
|
/php-src/ext/standard/tests/file/ |
H A D | pathinfo_basic2-win32.phpt | 34 /* 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 D | curl_basic_022.phpt | 9 …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 D | DOMDocument_schemaValidate_error6.phpt | 2 DomDocument::schemaValidate() - invalid path to schema 13 $doc->schemaValidate("/path/with/\0/byte");
|
/php-src/ext/standard/tests/network/ |
H A D | bug69948.phpt | 2 Bug #69948 (path/domain are not sanitized for special characters in setcookie) 20 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
|