Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 1479) sorted by relevance

12345678910>>...60

/PHP-5.5/ext/standard/tests/file/
H A D001-win32.phpt14 @unlink('test.file');
44 echo "test.file is " . filetype('test.file') . "\n";
46 echo "test.file size is " . filesize('test.file') . "\n";
58 echo "test.file is a regular file\n";
60 echo "test.file is not a regular file\n";
72 unlink('test.file');
87 test.file exists
89 test.file exists
90 test.file is file
92 test.file size is 0
[all …]
H A Dis_executable_basic.phpt30 // create a file
45 // delete the temp file
52 -- Changing mode of file to 0 --
54 -- Changing mode of file to 1 --
56 -- Changing mode of file to 2 --
58 -- Changing mode of file to 3 --
60 -- Changing mode of file to 4 --
62 -- Changing mode of file to 5 --
64 -- Changing mode of file to 6 --
66 -- Changing mode of file to 7 --
[all …]
H A Dis_readable_basic-win32.phpt20 // create a file
35 // delete the temp file
42 -- Changing mode of file to 0 --
44 -- Changing mode of file to 1 --
46 -- Changing mode of file to 2 --
48 -- Changing mode of file to 3 --
50 -- Changing mode of file to 4 --
52 -- Changing mode of file to 5 --
54 -- Changing mode of file to 6 --
56 -- Changing mode of file to 7 --
[all …]
H A Dis_readable_basic.phpt30 // create a file
45 // delete the temp file
52 -- Changing mode of file to 0 --
54 -- Changing mode of file to 1 --
56 -- Changing mode of file to 2 --
58 -- Changing mode of file to 3 --
60 -- Changing mode of file to 4 --
62 -- Changing mode of file to 5 --
64 -- Changing mode of file to 6 --
66 -- Changing mode of file to 7 --
[all …]
H A Dis_executable_basic-win32.phpt18 // create a file
33 // delete the temp file
40 -- Changing mode of file to 0 --
42 -- Changing mode of file to 1 --
44 -- Changing mode of file to 2 --
46 -- Changing mode of file to 3 --
48 -- Changing mode of file to 4 --
50 -- Changing mode of file to 5 --
52 -- Changing mode of file to 6 --
54 -- Changing mode of file to 7 --
[all …]
H A Dunlink_variation8.phpt114 file removed
116 file unlinked
118 file unlinked
120 file removed
122 file unlinked
124 file unlinked
126 file removed
128 file unlinked
150 file removed
156 file removed
[all …]
H A D001.phpt13 @unlink('test.file');
63 echo "test.file is " . filetype('test.file') . "\n";
66 echo "test.file size is " . filesize('test.file') . "\n";
83 echo "test.file is a regular file\n";
85 echo "test.file is not a regular file\n";
107 unlink('test.file');
123 test.file exists
127 test.file exists
133 test.file is file
136 test.file size is 0
[all …]
H A Dis_writable_basic.phpt29 // create a file
45 // delete the temp file
52 -- Changing mode of file to 0 --
55 -- Changing mode of file to 1 --
58 -- Changing mode of file to 2 --
61 -- Changing mode of file to 3 --
64 -- Changing mode of file to 4 --
67 -- Changing mode of file to 5 --
70 -- Changing mode of file to 6 --
73 -- Changing mode of file to 7 --
[all …]
H A Dcopy_variation2.phpt72 echo "Size of source file => ";
102 Size of source file => int(1500)
109 Size of source file => int(1500)
116 Size of source file => int(1500)
123 Size of source file => int(1500)
130 Size of source file => int(1500)
137 Size of source file => int(1500)
144 Size of source file => int(1500)
151 Size of source file => int(1500)
158 Size of source file => int(1500)
[all …]
H A Dcopy_variation2-win32.phpt101 Size of source file => int(1500)
108 Size of source file => int(1500)
115 Size of source file => int(1500)
122 Size of source file => int(1500)
141 Size of source file => int(1500)
148 Size of source file => int(1500)
155 Size of source file => int(1500)
168 Size of source file => int(1500)
175 Size of source file => int(1500)
182 Size of source file => int(1500)
[all …]
H A Dfopen_variation14-win32.phpt29 $files = array("file://$testDir\\$file",
30 "file://$testDir/$file",
31 "file://./$testDir/$file",
32 "file://.\\$testDir\\$file",
33 "file://$absTestDir/$file",
34 "file://$absTestDir\\$file",
35 "file://$unixifiedDir/$file"
41 $files = array("file://../$testDir/$file",
43 "file://$absTestDir/$file",
44 "file://$absTestDir\\$file",
[all …]
H A Dfread_variation2.phpt16 include ("file.inc");
82 // read from file, by giving the file actual size,
118 -- Reading file content less than max. file size, expeceted : 0 bytes --
133 -- Reading file content less than max. file size, expeceted : 0 bytes --
148 -- Reading file content less than max. file size, expeceted : 0 bytes --
163 -- Reading file content less than max. file size, expeceted : 0 bytes --
178 -- Reading file content less than max. file size, expeceted : 0 bytes --
193 -- Reading file content less than max. file size, expeceted : 0 bytes --
208 -- Reading file content less than max. file size, expeceted : 0 bytes --
223 -- Reading file content less than max. file size, expeceted : 0 bytes --
[all …]
H A Dcopy_variation1.phpt25 "copy.tmp", //regular file name
57 echo "Size of source file => ";
87 Size of source file => int(1500)
94 Size of source file => int(1500)
100 Destination file name => %s/.tmp
101 Size of source file => int(1500)
108 Size of source file => int(1500)
115 Size of source file => int(1500)
121 Destination file name => %s/123
122 Size of source file => int(1500)
[all …]
H A Dfopen_variation15-win32.phpt32 $files = array("file://$testDir\\$file",
33 "file://$testDir/$file",
34 "file://./$testDir/$file",
35 "file://.\\$testDir\\$file",
36 "file://$absTestDir/$file",
37 "file://$absTestDir\\$file",
38 "file://$unixifiedDir/$file"
44 $files = array("file://../$testDir/$file",
46 "file://$absTestDir/$file",
47 "file://$absTestDir\\$file",
[all …]
H A Dunlink_variation8-win32.phpt22 $tmpFile = "file.tmp";
63 touch($file);
75 unlink($file);
83 file removed
85 file removed
87 file removed
95 file removed
97 file removed
99 file removed
110 file removed
[all …]
H A Dunlink_variation9-win32.phpt22 $tmpFile = "file.tmp";
63 touch($file);
85 file removed
87 file removed
89 file removed
97 file removed
99 file removed
101 file removed
112 file removed
114 file removed
[all …]
H A Dfread_variation1.phpt14 Read entire file
18 include ("file.inc");
83 // read from file, by giving the file actual size,
119 -- Reading file content less than max. file size, expeceted : 1000 bytes --
134 -- Reading file content less than max. file size, expeceted : 1000 bytes --
149 -- Reading file content less than max. file size, expeceted : 1000 bytes --
164 -- Reading file content less than max. file size, expeceted : 1000 bytes --
179 -- Reading file content less than max. file size, expeceted : 1000 bytes --
194 -- Reading file content less than max. file size, expeceted : 1000 bytes --
209 -- Reading file content less than max. file size, expeceted : 1000 bytes --
[all …]
H A Dftruncate_variation1-win32.phpt13 Description: Truncates a file to a given length
16 // include common file related test functions
17 include ("file.inc");
21 /* test ftruncate with file opened in different modes */
35 // create 1 file with some contents
38 // fopen the file using the $file_modes
43 // fopen the file using the $file_modes
47 echo "Error: failed to open file $filename!\n";
51 rewind($file_handle); // file pointer to 0
76 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
H A Dftruncate_variation1.phpt13 Description: Truncates a file to a given length
16 // include common file related test functions
17 include ("file.inc");
21 /* test ftruncate with file opened in different modes */
35 // create 1 file with some contents
38 // fopen the file using the $file_modes
43 // fopen the file using the $file_modes
47 echo "Error: failed to open file $filename!\n";
51 rewind($file_handle); // file pointer to 0
76 -- Testing ftruncate(): truncate file to size = 0 --
[all …]
/PHP-5.5/ext/hash/tests/
H A Dhash_file_basic1.phpt16 $file = dirname(__FILE__) . "hash_file.txt";
17 /* Creating a temporary file file */
18 if (($fp = fopen( $file, "w+")) == FALSE) {
19 echo "Cannot create file ($file)";
23 /* Writing into file */
25 if (is_writable($file)) {
27 echo "Cannot write to file ($file)";
32 // close the file
39 echo "md2: " . hash_file('md2', $file). "\n";
40 echo "md4: " . hash_file('md4', $file). "\n";
[all …]
/PHP-5.5/ext/spl/tests/
H A DSplFileObject_fputcsv_variation6.phpt57 //close the file
63 //delete file
64 unlink($file);
73 -- file opened in r+ --
80 -- file opened in r+b --
94 -- file opened in a+ --
115 -- file opened in w+ --
136 -- file opened in x+ --
157 -- file opened in r+ --
178 -- file opened in a+ --
[all …]
H A DSplFileObject_fputcsv_variation7.phpt57 //close the file
63 //delete file
64 unlink($file);
73 -- file opened in r+ --
80 -- file opened in r+b --
94 -- file opened in a+ --
115 -- file opened in w+ --
136 -- file opened in x+ --
157 -- file opened in r+ --
178 -- file opened in a+ --
[all …]
H A DSplFileObject_fputcsv_variation8.phpt57 //close the file
63 //delete file
64 unlink($file);
73 -- file opened in r+ --
80 -- file opened in r+b --
94 -- file opened in a+ --
115 -- file opened in w+ --
136 -- file opened in x+ --
157 -- file opened in r+ --
178 -- file opened in a+ --
[all …]
H A DSplFileObject_fputcsv_variation11.phpt54 //close the file
60 //delete file
61 unlink($file);
70 -- file opened in r+ --
77 -- file opened in r+b --
91 -- file opened in a+ --
112 -- file opened in w+ --
133 -- file opened in x+ --
154 -- file opened in r+ --
175 -- file opened in a+ --
[all …]
/PHP-5.5/ext/pcre/
H A Dupgrade-pcre.php36 foreach (scandir($path) as $file) {
38 if ($file[0] === '.' ||
39 $file === 'CVS' ||
40 @substr_compare($file, '.lo', -3, 3) === 0 ||
44 $file = "$path/$file";
46 if (is_dir($file)) {
47 recurse($file);
51 echo "processing $file... ";
66 copy($newfile, $file);
97 foreach ($diff as $file) {
[all …]

Completed in 68 milliseconds

12345678910>>...60