/PHP-8.1/ext/standard/tests/file/ |
H A D | rename_variation3.phpt | 12 $file_path = __DIR__; 14 $dest_dir = "$file_path/rename_variation3_dir"; 19 $filename = $file_path."/rename_variation31.tmp"; 23 $linkname = $file_path."/rename_variation3_hard_link1.tmp"; 27 $dest_linkname = $file_path."/rename_variation3_hard_link2.tmp"; 46 $file_path = __DIR__; 47 unlink($file_path."/rename_variation3_hard_link1.tmp"); 48 rmdir($file_path."/rename_variation3_dir");
|
H A D | glob_variation-win32-mb.phpt | 13 $file_path = __DIR__; 16 //mkdir("$file_path/glob_variation"); 17 mkdir("$file_path/glob_variation私はガラスを食べられます"); 27 "$file_path/glob_variation私はガラスを食べられます/*der*", 28 "$file_path/glob_variation私はガラスを食べられます/?onder*", 29 "$file_path/glob_variation私はガラスを食べられます/w*der?*", 30 "$file_path/glob_variation私はガラスを食べられます/*der5", 35 '$file_path/glob_variation私はガラスを食べられます/wonder5', 37 "$file_path/glob_variation私はガラスを食べられます/wonder?", 65 rmdir("$file_path/glob_variation私はガラスを食べられます"); [all …]
|
H A D | lstat_stat_variation14.phpt | 7 $file_path = __DIR__; 8 require "$file_path/file.inc"; 12 $filename = "$file_path/lstat_stat_variation14.tmp"; 17 $linkname = "$file_path/lstat_stat_variation14_hard.tmp"; 37 $file_path = __DIR__; 38 unlink("$file_path/lstat_stat_variation14_hard.tmp"); 39 unlink("$file_path/lstat_stat_variation14.tmp");
|
H A D | rename_variation.phpt | 13 $file_path = __DIR__; 14 mkdir("$file_path/rename_variation"); 19 "$file_path/rename_variation/rename_variation.tmp", 22 "$file_path/rename_variation/rename_variation.tmp/", 25 "$file_path/rename_variation//rename_variation.tmp", 26 "$file_path//rename_variation//rename_variation.tmp", 32 $fp = fopen("$file_path/rename_variation/rename_variation.tmp", "w"); 34 $dest_filename = "$file_path/rename_variation_renamed.tmp"; 46 rmdir("$file_path/rename_variation");
|
H A D | glob_variation-win32.phpt | 13 $file_path = __DIR__; 16 mkdir("$file_path/glob_variation"); 26 "$file_path/glob_variation/*der*", 27 "$file_path/glob_variation/?onder*", 28 "$file_path/glob_variation/w*der?*", 29 "$file_path/glob_variation/*der5", 30 "$file_path/glob_variation/??onder*", 34 '$file_path/glob_variation/wonder5', 36 "$file_path/glob_variation/wonder?", 64 rmdir("$file_path/glob_variation"); [all …]
|
H A D | rename_variation1.phpt | 13 $file_path = __DIR__; 19 "$file_path/rename_variation1/", 22 "$file_path/rename_variation1/", 25 "$file_path//rename_variation1//", 28 $dest_dir = "$file_path/rename_variation1_dir"; 38 mkdir("$file_path/rename_variation1/"); 54 $file_path = __DIR__; 55 rmdir($file_path."/rename_variation1_dir");
|
H A D | copy_variation17.phpt | 7 $file_path = __DIR__; 10 $src_file = $file_path."/copy_variation17.tmp"; 15 $dir = $file_path."/copy_variation17"; 19 $file_path."/copy_variation17.tmp", //without wild-card char 20 $file_path."/copy*17.tmp", 21 $file_path."/*_variation17.tmp", 22 $file_path."/copy_variation*.tmp", 23 $file_path."/*.tmp"
|
H A D | file_get_contents_file_put_contents_error.phpt | 8 $file_path = __DIR__; 13 $file_handle = fopen($file_path."/file_put_contents.tmp", "w"); 16 file_put_contents($file_path."/file_put_contents1.tmp", "Garbage data in the file"); 18 file_get_contents($file_path."/file_put_contents1.tmp", FALSE, NULL, 0, -5); 29 $file_path = __DIR__; 30 unlink($file_path."/file_put_contents.tmp"); 31 unlink($file_path."/file_put_contents1.tmp");
|
H A D | fileowner_basic.phpt | 13 $file_path = __DIR__; 14 $file_name = $file_path."/fileowner_basic.tmp"; 21 $dir_name = $file_path."/fileowner_basic"; 29 $file_path = __DIR__; 30 $file_name = $file_path."/fileowner_basic.tmp"; 31 $dir_name = $file_path."/fileowner_basic";
|
H A D | disk_total_space_error-win32.phpt | 13 $file_path = __DIR__; 15 var_dump( disk_total_space( $file_path."/dir1" )); // Invalid directory 17 $fh = fopen( $file_path."/disk_total_space.tmp", "w" ); 19 var_dump( disk_total_space( $file_path."/disk_total_space.tmp" )); // file input instead of directo… 26 $file_path = __DIR__; 27 unlink($file_path."/disk_total_space.tmp");
|
H A D | file_error.phpt | 5 $file_path = __DIR__; 7 $file_handle = fopen($file_path."/file.tmp", "w"); 9 $filename = $file_path."/file.tmp"; 19 $file_path = __DIR__; 20 unlink($file_path."/file.tmp");
|
H A D | mkdir_rmdir_variation2.phpt | 15 $file_path = __DIR__; 18 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true, $context) ); 19 var_dump( rmdir("$file_path/mkdir_variation2/test/", $context) ); 22 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true) ); 23 var_dump( rmdir("$file_path/mkdir_variation2/") ); 27 var_dump( mkdir("$file_path/temp".chr(0)."/") ); 32 var_dump( rmdir("$file_path/temp".chr(0)."/") ); 39 var_dump( chmod("$file_path/mkdir_variation2/", 0000) ); 41 var_dump( mkdir("$file_path/mkdir_variation2/test1", 0777, true) ); 42 var_dump( chmod("$file_path/mkdir_variation2/", 0777) ); // chmod to enable removing test1 directo…
|
H A D | stat_variation4-win32.phpt | 14 $file_path = __DIR__; 15 require "$file_path/file.inc"; 19 mkdir("$file_path/stat_variation4/"); // temp dir 21 $file_handle = fopen("$file_path/stat_variation4.tmp", "w"); // temp file 30 $old_dirname = "$file_path/stat_variation4"; 49 $old_filename = "$file_path/stat_variation4.tmp"; 68 $file_path = __DIR__; 69 unlink("$file_path/stat_variation4.tmp"); 70 rmdir("$file_path/stat_variation4");
|
H A D | rename_variation2.phpt | 12 $file_path = __DIR__; 14 $dest_dir = "$file_path/rename_variation2_dir"; 21 $filename = $file_path."/rename_variation2.tmp"; 26 $linkname = $file_path."/rename_variation2_soft_link1.tmp"; 30 $dest_linkname = $file_path."/rename_variation2_soft_link2.tmp"; 51 $file_path = __DIR__; 52 unlink($file_path."/rename_variation2.tmp"); 53 rmdir($file_path."/rename_variation2_dir");
|
H A D | file_basic.phpt | 9 $file_path = __DIR__; 14 create_files($file_path, 1, $type, 0755, 100, "w", "file_basic", 1, "byte"); 15 print_r( file($file_path."/file_basic1.tmp") ); 16 delete_files($file_path, 1, "file_basic"); 21 create_files($file_path, 1, $type, 0755, 1, "w", "file_basic"); 22 $ret_arr = file($file_path."/file_basic1.tmp"); 24 delete_files($file_path, 1, "file_basic");
|
H A D | lstat_stat_variation15.phpt | 15 $file_path = __DIR__; 16 require "$file_path/file.inc"; 19 $filename = "$file_path/lstat_stat_variation15.tmp"; 24 $linkname = "$file_path/lstat_stat_variation15_link.tmp"; 46 $file_path = __DIR__; 47 unlink("$file_path/lstat_stat_variation15_link.tmp"); 48 unlink("$file_path/lstat_stat_variation15.tmp");
|
H A D | filesize_variation1-win32-mb.phpt | 10 $file_path = __DIR__; 11 require($file_path."/file.inc"); 18 create_files($file_path, 1, "numeric", 0755, $size, "w", "私はガラスを食べられますfilesize_variation"); 19 var_dump( filesize( $file_path."/私はガラスを食べられますfilesize_variation1.tmp") ); 21 delete_files($file_path, 1, "私はガラスを食べられますfilesize_variation");
|
H A D | filesize_variation1-win32.phpt | 10 $file_path = __DIR__; 11 require($file_path."/file.inc"); 18 create_files($file_path, 1, "numeric", 0755, $size, "w", "filesize_variation"); 19 var_dump( filesize( $file_path."/filesize_variation1.tmp") ); 21 delete_files($file_path, 1, "filesize_variation");
|
H A D | tempnam_variation9.phpt | 14 $file_path = __DIR__."/tempnamVar9"; 15 mkdir($file_path); 32 $file_name = tempnam("$file_path", $prefix); 46 rmdir($file_path); 51 $file_path = __DIR__."/tempnamVar9"; 52 if (file_exists($file_path)) { 53 array_map('unlink', glob($file_path . "/*")); 54 rmdir($file_path);
|
H A D | lstat_stat_variation2.phpt | 7 $file_path = __DIR__; 11 mkdir("$file_path/lstat_stat_variation1/"); // temp dir 15 $old_dirname = "$file_path/lstat_stat_variation1"; 16 $new_dirname = "$file_path/lstat_stat_variation1a"; 38 $file_path = __DIR__; 39 rmdir("$file_path/lstat_stat_variation1a");
|
H A D | glob_basic.phpt | 7 $file_path = __DIR__; 10 $dirname = "$file_path/glob_basic"; 40 $file_path = __DIR__; 41 unlink("$file_path/glob_basic/wonder12345"); 42 unlink("$file_path/glob_basic/wonder.txt"); 43 unlink("$file_path/glob_basic/file.text"); 44 rmdir("$file_path/glob_basic/");
|
H A D | stat_variation7-win32.phpt | 14 $file_path = __DIR__; 15 require "$file_path/file.inc"; 19 mkdir("$file_path/stat_variation7/"); // temp dir 37 $obj1 = new object_temp("$file_path/stat_variation7/"); 38 $obj2 = new object_temp("$file_path/stat_variation7a/"); 54 mkdir("$file_path/stat_variation7a/"); 61 $file_path = __DIR__; 62 unlink("$file_path/stat_variation7.tmp"); 63 unlink("$file_path/stat_variation7a.tmp"); 64 rmdir("$file_path/stat_variation7"); [all …]
|
H A D | tempnam_variation3-win32.phpt | 15 $file_path = __DIR__."/tempnamVar3"; 16 if (!mkdir($file_path)) { 21 $file_path = realpath($file_path); 59 $file_name = tempnam($file_path, $names_arr[$i]); 71 if (realpath($file_dir) == $file_path || realpath($file_dir . "\\") == $file_path) { 74 … "Failed, not created in the correct directory " . realpath($file_dir) . ' vs ' . $file_path ."\n"; 87 rmdir($file_path);
|
H A D | filesize_variation1.phpt | 10 $file_path = __DIR__; 11 require($file_path."/file.inc"); 18 create_files($file_path, 1, "numeric", 0755, $size, "w", "filesize_variation"); 19 var_dump( filesize( $file_path."/filesize_variation1.tmp") ); 21 delete_files($file_path, 1, "filesize_variation");
|
H A D | rename_variation3-win32.phpt | 14 $file_path = __DIR__; 15 $dirname = "$file_path/rename_variation3_dir"; 21 $filename = "$file_path/rename_variation3.tmp"; 53 $file_path = __DIR__; 54 unlink($file_path."/rename_variation3_link.tmp"); 55 unlink($file_path."/rename_variation3.tmp"); 56 rmdir($file_path."/rename_variation3_dir"); 57 rmdir($file_path."/rename_variation3.tmp");
|