Home
last modified time | relevance | path

Searched refs:directory (Results 76 – 100 of 521) sorted by relevance

12345678910>>...21

/PHP-8.1/ext/standard/tests/file/
H A Dstat_variation1-win32.phpt18 /* create temp file and directory */
25 echo "*** Testing stat(): on file and directory ater renaming them ***\n";
46 // renaming a directory
47 echo "-- Testing stat() for directory after being renamed --\n";
75 *** Testing stat(): on file and directory ater renaming them ***
81 -- Testing stat() for directory after being renamed --
H A Dunlink_error-win32-mb.phpt37 echo "\n-- Testing unlink() on directory --\n";
38 // temp directory used here
42 // unlinking directory
68 Warning: unlink(%s/non_existent_file.tmp): No such file or directory in %s on line %d
71 -- Testing unlink() on directory --
73 Warning: unlink(%s/unlink_error): Is a directory in %s on line %d
H A Dunlink_error-win32.phpt35 echo "\n-- Testing unlink() on directory --\n";
36 // temp directory used here
40 // unlinking directory
65 Warning: unlink(%s/non_existent_file.tmp): No such file or directory in %s on line %d
68 -- Testing unlink() on directory --
70 Warning: unlink(%s/unlink_error): Is a directory in %s on line %d
H A Drename_variation8.phpt22 echo "\n*** Testing rename() on existing directory ***\n";
32 echo "\n*** Testing rename() on non-existing directory ***\n";
50 Warning: rename(%s/non_existent_file.tmp,%s/rename_variation8_new.tmp): No such file or directory i…
55 *** Testing rename() on existing directory ***
60 *** Testing rename() on non-existing directory ***
62 Warning: rename(%s/non_existent_dir,%s/rename_basic_dir2): No such file or directory in %s on line …
H A Dtempnam_variation7-win32.phpt15 echo "*** Testing tempnam() with invalid/non-existing directory names ***\n";
66 *** Testing tempnam() with invalid/non-existing directory names ***
69 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p…
75 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p…
89 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p…
94 tempnam(): Argument #1 ($directory) must not contain any null bytes
96 tempnam(): Argument #1 ($directory) must be of type string, array given
99 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p…
105 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p…
H A Dtempnam_variation7.phpt15 echo "*** Testing tempnam() with invalid/non-existing directory names ***\n";
71 *** Testing tempnam() with invalid/non-existing directory names ***
74 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on …
80 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on …
94 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on …
99 tempnam(): Argument #1 ($directory) must not contain any null bytes
101 tempnam(): Argument #1 ($directory) must be of type string, array given
104 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on …
110 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on …
H A Dfseek_dir_basic.phpt2 Testing fseek() on a directory stream
21 echo "\ncall fseek() on directory resource:\n";
30 echo "\ncall fseek() with different arguments on directory resource:\n";
61 call fseek() on directory resource:
79 call fseek() with different arguments on directory resource:
H A Ddisk_free_space_error.phpt13 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory
18 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory
33 Warning: disk_free_space(): No such file or directory in %s on line %d
36 Warning: diskfreespace(): No such file or directory in %s on line %d
H A Dunlink_variation8.phpt135 Warning: unlink(BADDIR/file.tmp): No such file or directory in %s on line %d
138 Warning: unlink(BADDIR/file.tmp): No such file or directory in %s on line %d
141 Warning: unlink(BADDIR/file.tmp): No such file or directory in %s on line %d
162 Warning: unlink(/%s/BADDIR/file.tmp): No such file or directory in %s on line %d
165 Warning: unlink(/%s/BADDIR/file.tmp): No such file or directory in %s on line %d
171 Warning: unlink(unlinkVar8.tmp/file.tmp/): Not a directory in %s on line %d
174 Warning: unlink(unlinkVar8.tmp/file.tmp/): %s directory in %s on line %d
177 Warning: unlink(unlinkVar8.tmp/file.tmp/): Not a directory in %s on line %d
180 Warning: unlink(/%s/unlinkVar8.tmp/file.tmp/): Not a directory in %s on line %d
183 Warning: unlink(/%s/unlinkVar8.tmp/file.tmp/): %s directory in %s on line %d
[all …]
H A Dlstat_stat_variation2.phpt10 /* create temp directory */
13 // renaming a directory and check stat
14 echo "*** Testing stat() for directory after being renamed ***\n";
42 *** Testing stat() for directory after being renamed ***
H A Ddisk_free_space_error-win32.phpt13 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory
18 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory
39 Warning: disk_free_space(): The directory name is invalid in %s on line %d
42 Warning: diskfreespace(): The directory name is invalid in %s on line %d
H A Ddisk_total_space_error.phpt15 var_dump( disk_total_space( $file_path."/dir1" )); // Invalid directory
19 …r_dump( disk_total_space( $file_path."/disk_total_space.tmp" )); // file input instead of directory
32 Warning: disk_total_space(): No such file or directory in %s on line %d
/PHP-8.1/ext/standard/tests/dir/
H A Ddir_variation8.phpt12 * Create more than one temporary directory & subdirectory and check if dir() function can open
42 Warning: dir(%s/dir_var*): Failed to open directory: %s in %s on line %d
45 Warning: dir(%s/*): Failed to open directory: %s in %s on line %d
49 Warning: dir(%s/dir_variation81/sub_dir?): Failed to open directory: %s in %s on line %d
52 Warning: dir(%s/dir_variation81/sub?dir1): Failed to open directory: %s in %s on line %d
H A Ddir_variation3.phpt2 Test dir() function : usage variations - different directory permissions
13 * Providing various permissions to the directory to be opened and checking
14 * to see if dir() function opens the directory successfully.
17 echo "*** Testing dir() : different directory permissions ***";
19 // create the temporary directory
24 /* different values for directory permissions */
42 // Open directory with different permission values, read and close, expected: none of them to succe…
62 // try read directory, expected : false
66 // close directory
74 // deleting temporary directory
[all …]
H A Dopendir_variation7.phpt2 Test opendir() function : usage variations - different directory permissions
13 * Open a directory using opendir() with different directory permissions
18 // create the temporary directory
23 /* different values for directory permissions */
41 // Open directory with different permission values, read and close, expected: none of them to succe…
67 // deleting temporary directory
H A Dbug41693.phpt2 Bug #41693 (scandir() allows empty directory names)
14 scandir(): Argument #1 ($directory) cannot be empty
H A Dopendir_variation6.phpt48 Warning: opendir(%s/opendir_var*): Failed to open directory: %s in %s on line %d
51 Warning: opendir(%s/*): Failed to open directory: %s in %s on line %d
56 Warning: opendir(%s/opendir_variation6/sub_dir?): Failed to open directory: %s in %s on line %d
59 Warning: opendir(%s/opendir_variation6/sub?dir1): Failed to open directory: %s in %s on line %d
/PHP-8.1/ext/zlib/tests/
H A Dgzfile_variation7.phpt29 Warning: gzfile(string): Failed to open stream: No such file or directory in %s on line %d
32 Warning: gzfile(string): Failed to open stream: No such file or directory in %s on line %d
35 Warning: gzfile(sTrInG): Failed to open stream: No such file or directory in %s on line %d
38 Warning: gzfile(hello world): Failed to open stream: No such file or directory in %s on line %d
H A Dreadgzfile_variation7.phpt29 Warning: readgzfile(string): Failed to open stream: No such file or directory in %s on line %d
32 Warning: readgzfile(string): Failed to open stream: No such file or directory in %s on line %d
35 Warning: readgzfile(sTrInG): Failed to open stream: No such file or directory in %s on line %d
38 Warning: readgzfile(hello world): Failed to open stream: No such file or directory in %s on line %d
/PHP-8.1/ext/phar/tests/
H A Dphar_buildfromdirectory2.phpt2 Phar::buildFromDirectory() - non-directory passed as first parameter
29 RecursiveDirectoryIterator::__construct(1): Failed to open directory: No such file or directory
H A Dbug65414.phpt2 Bug #65414 Injection (A1) in .phar files magic .phar directory
32 .phar/injected-1.txt:Cannot create any files in magic ".phar" directory
33 /.phar/injected-2.txt:Cannot create any files in magic ".phar" directory
35 /.phar/:Cannot create any files in magic ".phar" directory
H A Dmounteddir.phpt2 Phar: mounted manifest directory test
18 echo file_get_contents(Phar::running(1) . "/testit/directory"), "\n";
35 mkdir(__DIR__ . '/testit/directory');
88 @rmdir(__DIR__ . '/testit/directory');
98 …//%stempmanifest1.phar.php/testit/directory): Failed to open stream: phar error: path "testit/dire…
106 directory
/PHP-8.1/tests/security/
H A Dopen_basedir_opendir.phpt32 Warning: opendir(../bad): Failed to open directory: %s in %s on line %d
37 Warning: opendir(../bad/bad.txt): Failed to open directory: %s in %s on line %d
42 Warning: opendir(..): Failed to open directory: %s in %s on line %d
47 Warning: opendir(../): Failed to open directory: %s in %s on line %d
52 Warning: opendir(/): Failed to open directory: %s in %s on line %d
57 Warning: opendir(../bad/.): Failed to open directory: %s in %s on line %d
62 Warning: opendir(%s/test/bad/bad.txt): Failed to open directory: %s in %s on line %d
67 Warning: opendir(%s/test/bad/../bad/bad.txt): Failed to open directory: %s in %s on line %d
H A Dopen_basedir_dir.phpt33 Warning: dir(../bad): Failed to open directory: %s in %s on line %d
38 Warning: dir(../bad/bad.txt): Failed to open directory: %s in %s on line %d
43 Warning: dir(..): Failed to open directory: %s in %s on line %d
48 Warning: dir(../): Failed to open directory: %s in %s on line %d
53 Warning: dir(/): Failed to open directory: %s in %s on line %d
58 Warning: dir(../bad/.): Failed to open directory: %s in %s on line %d
63 Warning: dir(%s/test/bad/bad.txt): Failed to open directory: %s in %s on line %d
68 Warning: dir(%s/test/bad/../bad/bad.txt): Failed to open directory: %s in %s on line %d
/PHP-8.1/ext/sqlite3/tests/
H A Dsqlite3_22_loadextension.phpt20 $directory = __DIR__;
22 touch($directory . '/myext.txt');
26 unlink($directory . '/myext.txt');

Completed in 27 milliseconds

12345678910>>...21