Home
last modified time | relevance | path

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

12345678910>>...24

/PHP-7.1/ext/standard/tests/file/
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 Dparse_ini_file_variation4.phpt112 Error: 2 - parse_ini_file(0): failed to open stream: No such file or directory, %s(%d)
116 Error: 2 - parse_ini_file(1): failed to open stream: No such file or directory, %s(%d)
120 Error: 2 - parse_ini_file(12345): failed to open stream: No such file or directory, %s(%d)
124 Error: 2 - parse_ini_file(-2345): failed to open stream: No such file or directory, %s(%d)
128 Error: 2 - parse_ini_file(10.5): failed to open stream: No such file or directory, %s(%d)
132 Error: 2 - parse_ini_file(-10.5): failed to open stream: No such file or directory, %s(%d)
136 Error: 2 - parse_ini_file(123456789000): failed to open stream: No such file or directory, %s(%d)
140 Error: 2 - parse_ini_file(-123456789000): failed to open stream: No such file or directory, %s(%d)
144 Error: 2 - parse_ini_file(0.5): failed to open stream: No such file or directory, %s(%d)
172 Error: 2 - parse_ini_file(1): failed to open stream: No such file or directory, %s(%d)
[all …]
H A Drename_variation1-win32.phpt12 Description: Renames a file or directory
17 /* creating directory */
21 echo "\n*** Testing rename() : renaming directory across directories ***\n";
23 /* Testing simple directory tree */
67 *** Testing rename() : renaming directory across directories ***
H A Dtempnam_variation7-win32.phpt17 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…
93 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p…
102 Warning: unlink(): %r(Invalid argument|No such file or directory)%r in %s on line %d
108 Warning: unlink(): %r(Invalid argument|No such file or directory)%r in %s on line %d
111 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p…
117 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7-win32.p…
H A Dlstat_stat_variation10.phpt25 /* create temp file, link and directory */
29 // is_dir() on a directory
30 echo "*** Testing stat() on directory after using is_dir() on it ***\n";
52 *** Testing stat() on directory after using is_dir() on it ***
H A Drename_variation4.phpt16 /* Renaming a file, link and directory to numeric name */
17 echo "\n*** Testing rename() by renaming a file, link and directory to numeric name ***\n";
30 // renaming a directory to numeric name
44 *** Testing rename() by renaming a file, link and directory to numeric name ***
H A Dmkdir_rmdir_error.phpt6 Description: Makes directory
9 Description: Removes directory
22 echo "\n*** Testing rmdir() on non-existent directory ***\n";
54 *** Testing rmdir() on non-existent directory ***
56 Warning: rmdir(temp): No such file or directory in %s on line %d
H A Ddisk_total_space_variation.phpt6 * Prototype: float disk_total_space( string directory )
7 * Description: given a string containing a directory, this function
14 echo "*** Testing with a directory ***\n";
21 echo "\n*** Testing with different directory combinations ***";
67 *** Testing with a directory ***
73 *** Testing with different directory combinations ***
H A Dfile_get_contents_variation8.phpt32 /* prefix with path separator of a non existing directory*/
49 Warning: file_get_contents(-1): failed to open stream: No such file or directory in %s on line %d
53 Warning: file_get_contents(1): failed to open stream: No such file or directory in %s on line %d
69 Warning: file_get_contents( ): failed to open stream: No such file or directory in %s on line %d
81 Warning: file_get_contents(/no/such/file/dir): failed to open stream: No such file or directory in …
85 Warning: file_get_contents(php/php): failed to open stream: No such file or directory in %s on line…
H A Dmkdir_rmdir_variation2.phpt22 Description: Makes directory
33 echo "\n*** Testing rmdir() on a non-empty directory ***\n";
42 /* changing mode of mkdir to prevent creating sub-directory under it */
44 /* creating sub-directory test1 under mkdir, expected: false */
46 …r_dump( chmod("$file_path/mkdir_variation2/", 0777) ); // chmod to enable removing test1 directory
60 *** Testing rmdir() on a non-empty directory ***
H A Dtempnam_variation3-win32.phpt39 /* prefix with path separator of a non existing directory*/
55 /* prefix with path separator of a non existing directory*/
73 …echo "Failed, not created in the correct directory " . realpath($file_dir) . ' vs ' . $file_path .…
103 Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation3-win32.p…
104 Failed, not created in the correct directory %s vs %s
109 Failed, not created in the correct directory %s vs %sext\standard\tests\file\tempnamVar3
H A Dfile_variation2.phpt112 Error: 2 - file(0): failed to open stream: No such file or directory, %s(%d)
116 Error: 2 - file(1): failed to open stream: No such file or directory, %s(%d)
120 Error: 2 - file(12345): failed to open stream: No such file or directory, %s(%d)
124 Error: 2 - file(-2345): failed to open stream: No such file or directory, %s(%d)
128 Error: 2 - file(10.5): failed to open stream: No such file or directory, %s(%d)
132 Error: 2 - file(-10.5): failed to open stream: No such file or directory, %s(%d)
136 Error: 2 - file(123456789000): failed to open stream: No such file or directory, %s(%d)
140 Error: 2 - file(-123456789000): failed to open stream: No such file or directory, %s(%d)
144 Error: 2 - file(0.5): failed to open stream: No such file or directory, %s(%d)
172 Error: 2 - file(1): failed to open stream: No such file or directory, %s(%d)
[all …]
/PHP-7.1/ext/standard/tests/image/
H A Dgetimagesize_variation1.phpt87 Error: 2 - getimagesize(0): failed to open stream: No such file or directory, %s(%d)
91 Error: 2 - getimagesize(1): failed to open stream: No such file or directory, %s(%d)
95 Error: 2 - getimagesize(12345): failed to open stream: No such file or directory, %s(%d)
99 Error: 2 - getimagesize(-2345): failed to open stream: No such file or directory, %s(%d)
103 Error: 2 - getimagesize(10.5): failed to open stream: No such file or directory, %s(%d)
107 Error: 2 - getimagesize(-10.5): failed to open stream: No such file or directory, %s(%d)
111 Error: 2 - getimagesize(101234567000): failed to open stream: No such file or directory, %s(%d)
115 Error: 2 - getimagesize(0.000107654321): failed to open stream: No such file or directory, %s(%d)
119 Error: 2 - getimagesize(0.5): failed to open stream: No such file or directory, %s(%d)
151 Error: 2 - getimagesize(1): failed to open stream: No such file or directory, %s(%d)
[all …]
/PHP-7.1/ext/zlib/tests/
H A Dgzopen_variation1.phpt125 Error: 2 - gzopen(0): failed to open stream: No such file or directory, %s(%d)
129 Error: 2 - gzopen(1): failed to open stream: No such file or directory, %s(%d)
133 Error: 2 - gzopen(12345): failed to open stream: No such file or directory, %s(%d)
137 Error: 2 - gzopen(-2345): failed to open stream: No such file or directory, %s(%d)
141 Error: 2 - gzopen(10.5): failed to open stream: No such file or directory, %s(%d)
145 Error: 2 - gzopen(-10.5): failed to open stream: No such file or directory, %s(%d)
149 Error: 2 - gzopen(123456789000): failed to open stream: No such file or directory, %s(%d)
153 Error: 2 - gzopen(-123456789000): failed to open stream: No such file or directory, %s(%d)
157 Error: 2 - gzopen(0.5): failed to open stream: No such file or directory, %s(%d)
185 Error: 2 - gzopen(1): failed to open stream: No such file or directory, %s(%d)
[all …]
/PHP-7.1/ext/standard/tests/dir/
H A Dchdir_error1.phpt5 /* Prototype : bool chdir(string $directory)
6 * Description: Change the current directory
22 $directory = __FILE__;
24 var_dump( chdir($directory, $extra_arg) );
H A Dopendir_variation7.phpt2 Test opendir() function : usage variations - different directory permissions
21 * Description: Open a directory and return a dir_handle
26 * Open a directory using opendir() with different directory permissions
31 // create the temporary directory
36 /* different values for directory permissions */
54 // Open directory with different permission values, read and close, expected: none of them to succe…
81 // deleting temporary directory
H A Ddir_variation9.phpt12 * Prototype : object dir(string $directory[, resource $context])
28 // directory dir_variation91 with one sub-directory sub_dir11 and sub-sub-directory sub_dir111
33 // directory dir_variation92 with one sub-directory sub_dir21
43 // open the directory with valid paths
50 // open the directory with invalid path
/PHP-7.1/ext/sqlite3/tests/
H A Dsqlite3_22_loadextension.phpt19 $directory = dirname(__FILE__);
21 touch($directory . '/myext.txt');
25 unlink($directory . '/myext.txt');
/PHP-7.1/ext/standard/tests/file/windows_links/
H A Dbug48746.phpt22 $dirname = __DIR__ . "\\mnt\\test\\directory";
30 exec("mklink /j mklink_junction directory", $output, $ret_val);
31 var_dump(file_exists("directory"));
41 rmdir(__DIR__ . "\\mnt\\test\\directory");
/PHP-7.1/ext/phar/tests/
H A Dmounteddir.phpt2 Phar: mounted manifest directory test
19 echo file_get_contents(Phar::running(1) . "/testit/directory"), "\n";
36 mkdir(dirname(__FILE__) . '/testit/directory');
90 @rmdir(dirname(__FILE__) . '/testit/directory');
100 …//%stempmanifest1.phar.php/testit/directory): failed to open stream: phar error: path "testit/dire…
108 directory
H A DmounteddirU.phpt2 Phar: mounted manifest directory test
19 echo file_get_contents(Phar::running(1) . "/testit/directory"), "\n";
36 mkdir(dirname(__FILE__) . '/testit/directory');
90 @rmdir(dirname(__FILE__) . '/testit/directory');
100 …//%stempmanifest1.phar.php/testit/directory): failed to open stream: phar error: path "testit/dire…
108 directory
/PHP-7.1/ext/exif/tests/
H A Dexif_imagetype_variation1.phpt109 Warning: exif_imagetype(0): failed to open stream: No such file or directory in %s on line %d
113 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
117 Warning: exif_imagetype(12345): failed to open stream: No such file or directory in %s on line %d
121 Warning: exif_imagetype(-2345): failed to open stream: No such file or directory in %s on line %d
125 Warning: exif_imagetype(10.5): failed to open stream: No such file or directory in %s on line %d
129 Warning: exif_imagetype(-10.5): failed to open stream: No such file or directory in %s on line %d
133 Warning: exif_imagetype(101234567000): failed to open stream: No such file or directory in %s on li…
141 Warning: exif_imagetype(0.5): failed to open stream: No such file or directory in %s on line %d
165 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
173 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
[all …]
/PHP-7.1/win32/build/
H A Dmkdist.php423 function copy_test_dir($directory, $dest) argument
425 if(substr($directory,-1) == '/') {
426 $directory = substr($directory,0,-1);
429 if ($directory == 'tests' || $directory == 'examples') {
433 copy_dir($directory, $dest . '/tests/');
438 if(!file_exists($directory) || !is_dir($directory)) {
439 echo "failed... $directory\n";
443 $directory_list = opendir($directory);
446 $full_path = $directory . '/' . $file;
/PHP-7.1/ext/standard/tests/url/
H A Dparse_url_basic_007.phpt47 …//www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(53) "/this/is/a/v…
48 …is/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5 : strin…
49 …ttp://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : string(45) "/this/is/a/very/…
50 …//www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(53) "/this/is/a/v…
51 --> http://www.php.net:80/this/../a/../deep/directory : string(28) "/this/../a/../deep/directory"
52 --> http://www.php.net:80/this/../a/../deep/directory/ : string(29) "/this/../a/../deep/directory
53 …http://www.php.net:80/this/is/a/very/deep/directory/../file.php : string(42) "/this/is/a/very/de…

Completed in 36 milliseconds

12345678910>>...24