Home
last modified time | relevance | path

Searched refs:directory (Results 51 – 75 of 510) sorted by relevance

12345678910>>...21

/PHP-7.4/ext/zlib/tests/
H A Dgzfile_variation4.phpt29 Warning: gzfile(10.5): failed to open stream: No such file or directory in %s on line %d
32 Warning: gzfile(-10.5): failed to open stream: No such file or directory in %s on line %d
35 Warning: gzfile(123456789000): failed to open stream: No such file or directory in %s on line %d
38 Warning: gzfile(-123456789000): failed to open stream: No such file or directory in %s on line %d
41 Warning: gzfile(0.5): failed to open stream: No such file or directory in %s on line %d
H A Dreadgzfile_variation4.phpt29 Warning: readgzfile(10.5): failed to open stream: No such file or directory in %s on line %d
32 Warning: readgzfile(-10.5): failed to open stream: No such file or directory in %s on line %d
35 Warning: readgzfile(123456789000): failed to open stream: No such file or directory in %s on line %d
38 Warning: readgzfile(-123456789000): failed to open stream: No such file or directory in %s on line …
41 Warning: readgzfile(0.5): failed to open stream: No such file or directory in %s on line %d
H A Dgzfile_variation5.phpt28 Warning: gzfile(0): failed to open stream: No such file or directory in %s on line %d
31 Warning: gzfile(1): failed to open stream: No such file or directory in %s on line %d
34 Warning: gzfile(12345): failed to open stream: No such file or directory in %s on line %d
37 Warning: gzfile(-2345): failed to open stream: No such file or directory in %s on line %d
H A Dreadgzfile_variation5.phpt28 Warning: readgzfile(0): failed to open stream: No such file or directory in %s on line %d
31 Warning: readgzfile(1): failed to open stream: No such file or directory in %s on line %d
34 Warning: readgzfile(12345): failed to open stream: No such file or directory in %s on line %d
37 Warning: readgzfile(-2345): failed to open stream: No such file or directory in %s on line %d
H A Dgzfile_variation7.phpt32 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(sTrInG): failed to open stream: No such file or directory in %s on line %d
41 Warning: gzfile(hello world): failed to open stream: No such file or directory in %s on line %d
/PHP-7.4/ext/standard/tests/file/
H A Dlstat_stat_variation5.phpt25 /* create temp directory */
31 // touch a directory and check stat, there should be difference in atime
32 echo "*** Testing stat() for directory after using touch() on the directory ***\n";
58 *** Testing stat() for directory after using touch() on the directory ***
H A Drename_variation8.phpt10 Description: Renames a file or directory
26 echo "\n*** Testing rename() on existing directory ***\n";
36 echo "\n*** Testing rename() on non-existing directory ***\n";
54 Warning: rename(%s/non_existent_file.tmp,%s/rename_variation8_new.tmp): No such file or directory i…
59 *** Testing rename() on existing directory ***
64 *** Testing rename() on non-existing directory ***
66 Warning: rename(%s/non_existent_dir,%s/rename_basic_dir2): No such file or directory in %s on line …
H A Ddisk_total_space_error.phpt13 * Prototype: float disk_total_space( string $directory );
14 * Description: given a string containing a directory, this function
26 var_dump( disk_total_space( $file_path."/dir1" )); // Invalid directory
30 …r_dump( disk_total_space( $file_path."/disk_total_space.tmp" )); // file input instead of directory
49 Warning: disk_total_space(): No such file or directory in %s on line %d
H A Ddisk_free_space_basic.phpt12 * Prototype: float disk_free_space( string directory )
13 * Description: Given a string containing a directory, this function
20 echo "*** Testing with existing directory ***\n";
24 echo "*** Testing with newly created directory ***\n";
59 *** Testing with existing directory ***
62 *** Testing with newly created directory ***
H A Ddisk_free_space_error.phpt11 * Prototype: float disk_free_space( string directory )
12 * Description: Given a string containing a directory, this function will
26 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory
31 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory
58 Warning: disk_free_space(): No such file or directory in %s on line %d
61 Warning: diskfreespace(): No such file or directory in %s on line %d
H A Ddisk_total_space_error-win32.phpt13 * Prototype: float disk_total_space( string $directory );
14 * Description: given a string containing a directory, this function
26 var_dump( disk_total_space( $file_path."/dir1" )); // Invalid directory
30 …r_dump( disk_total_space( $file_path."/disk_total_space.tmp" )); // file input instead of directory
53 Warning: disk_total_space(): The directory name is invalid.
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 Drename_variation2-win32.phpt12 Description: Renames a file or directory
20 /* Renaming a file and directory to numeric name */
21 echo "\n*** Testing rename() by renaming a file and directory to numeric name ***\n";
34 // renaming a directory to numeric name
53 *** Testing rename() by renaming a file and directory to numeric name ***
H A Dtouch_error.phpt10 var_dump(touch("/no/such/file/or/directory"));
20 …rning: touch(): Unable to create file /no/such/file/or/directory because No such file or directory
H A Ddisk_free_space_error-win32.phpt11 * Prototype: float disk_free_space( string directory )
12 * Description: Given a string containing a directory, this function will
26 var_dump( disk_free_space( $file_path."/dir1" )); // Invalid directory
31 var_dump( disk_free_space( $file_path."/disk_free_space.tmp" )); // file input instead of directory
66 Warning: disk_free_space(): The directory name is invalid.
70 Warning: diskfreespace(): The directory name is invalid.
H A Dstat_variation1-win32-mb.phpt23 /* create temp file and directory */
30 echo "*** Testing stat(): on file and directory ater renaming them ***\n";
51 // renaming a directory
52 echo "-- Testing stat() for directory after being renamed --\n";
80 *** Testing stat(): on file and directory ater renaming them ***
86 -- Testing stat() for directory after being renamed --
H A Dstat_variation1-win32.phpt23 /* create temp file and directory */
30 echo "*** Testing stat(): on file and directory ater renaming them ***\n";
51 // renaming a directory
52 echo "-- Testing stat() for directory after being renamed --\n";
80 *** Testing stat(): on file and directory ater renaming them ***
86 -- Testing stat() for directory after being renamed --
/PHP-7.4/ext/standard/tests/file/windows_links/
H A Dbug48746_1.phpt22 $dirname = __DIR__ . "\\mnt\\test\\directory";
30 exec("mklink /j mklink_junction directory", $output, $ret_val);
33 file_put_contents("$fullpath\\mnt\\test\\directory\\b.php", "<?php echo \"I am included.\n\" ?>");
34 require "$fullpath\\mnt\\test\\directory\\b.php";
38 var_dump(is_file("$fullpath\\mnt\\test\\directory\\b.php"));
40 unlink("$fullpath\\mnt\\test\\directory\\b.php");
44 rmdir(__DIR__ . "\\mnt\\test\\directory");
/PHP-7.4/ext/standard/tests/dir/
H A Ddir_variation7.phpt13 * Prototype : object dir(string $directory[, resource $context])
26 /* create the temporary directory :
47 echo "-- After restricting 1st level parent directory --\n";
53 chmod($parent_dir_path, 0666); // restricting parent directory
54 echo "-- After restricting parent directory --\n";
67 // changing permissions for each temporary directory to delete them
78 -- After restricting 1st level parent directory --
82 -- After restricting parent directory --
H A Dopendir_variation5.phpt13 * Description: Open a directory and return a dir_handle
25 /* create the temporary directory :
47 echo "\n-- After restricting 1st level parent directory --\n";
53 chmod($parent_dir_path, 0666); // restricting parent directory
55 echo "\n-- After restricting parent directory --\n";
73 // changing permissions for each temporary directory to delete them
85 -- After restricting 1st level parent directory --
90 -- After restricting parent directory --
H A Dscandir_variation5.phpt2 Test scandir() function : usage variations - different directory permissions
26 * create the temporary directory :
48 echo "\n-- After restricting 1st level parent directory --\n";
53 chmod($parent_dir_path, 0666); // restricting parent directory
55 echo "\n-- After restricting parent directory --\n";
65 // changing permissions for each temporary directory to delete them
77 -- After restricting 1st level parent directory --
84 -- After restricting parent directory --
H A Ddir_variation3.phpt2 Test dir() function : usage variations - different directory permissions
13 * Prototype : object dir(string $directory[, resource $context])
19 * Providing various permissions to the directory to be opened and checking
20 * to see if dir() function opens the directory successfully.
23 echo "*** Testing dir() : different directory permissions ***";
25 // create the temporary directory
30 /* different values for directory permissions */
68 // try read directory, expected : false
72 // close directory
80 // deleting temporary directory
[all …]
H A Dopendir_variation7.phpt2 Test opendir() function : usage variations - different directory permissions
13 * Description: Open a directory and return a dir_handle
18 * Open a directory using opendir() with different directory permissions
23 // create the temporary directory
28 /* different values for directory permissions */
46 // Open directory with different permission values, read and close, expected: none of them to succe…
73 // deleting temporary directory
/PHP-7.4/ext/fileinfo/tests/
H A Dfinfo_open_001.phpt22 Warning: finfo_open(%s123): failed to open stream: No such file or directory in %s on line %d
24 Warning: finfo_open(%s123): failed to open stream: No such file or directory in %s on line %d
29 Warning: finfo_open(%s1): failed to open stream: No such file or directory in %s on line %d
31 Warning: finfo_open(%s1): failed to open stream: No such file or directory in %s on line %d
36 Warning: finfo_open(%sinexistent): failed to open stream: No such file or directory in %s on line %d
38 Warning: finfo_open(%sinexistent): failed to open stream: No such file or directory in %s on line %d
/PHP-7.4/ext/phar/tests/
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

Completed in 26 milliseconds

12345678910>>...21