Home
last modified time | relevance | path

Searched refs:filesize (Results 1 – 25 of 153) sorted by relevance

1234567

/PHP-8.0/ext/standard/tests/file/
H A Dfilesize_variation5.phpt2 Test filesize() function: usage variations - size of files
7 echo "*** Testing filesize(): usage variations ***\n";
10 var_dump( filesize(NULL) );
11 var_dump( filesize(false) );
12 var_dump( filesize('') );
13 var_dump( filesize(' ') );
14 var_dump( filesize('|') );
18 *** Testing filesize(): usage variations ***
23 Warning: filesize(): stat failed for in %s on line %d
26 Warning: filesize(): stat failed for | in %s on line %d
H A Dfilesize_error.phpt2 Test filesize() function: error conditions
5 echo "*** Testing filesize(): error conditions ***";
8 var_dump( filesize("/no/such/file") );
9 var_dump( filesize("/no/such/dir") );
14 *** Testing filesize(): error conditions ***
15 Warning: filesize(): stat failed for /no/such/file in %s on line %d
18 Warning: filesize(): stat failed for /no/such/dir in %s on line %d
H A Dfgets_variation5.phpt57 -- fgets() with length > filesize --
63 -- fgets() with length > filesize --
69 -- fgets() with length > filesize --
76 -- fgets() with length > filesize --
84 -- fgets() with length > filesize --
90 -- fgets() with length > filesize --
96 -- fgets() with length > filesize --
103 -- fgets() with length > filesize --
111 -- fgets() with length > filesize --
117 -- fgets() with length > filesize --
[all …]
H A Dfilesize_basic.phpt2 Test filesize() function: basic functionaity
5 echo "*** Testing size of files and directories with filesize() ***\n";
9 var_dump( filesize(__FILE__) );
10 var_dump( filesize(".") );
16 var_dump( filesize($file_name) );
27 *** Testing size of files and directories with filesize() ***
H A Dfilesize_variation1-win32.phpt2 Test filesize() function: usage variations - size of files
13 echo "*** Testing filesize(): usage variations ***\n";
15 echo "*** Checking filesize() with different size of files ***\n";
19 var_dump( filesize( $file_path."/filesize_variation1.tmp") );
27 *** Testing filesize(): usage variations ***
28 *** Checking filesize() with different size of files ***
H A Dfilesize_variation1-win32-mb.phpt2 Test filesize() function: usage variations - size of files
13 echo "*** Testing filesize(): usage variations ***\n";
15 echo "*** Checking filesize() with different size of files ***\n";
19 var_dump( filesize( $file_path."/私はガラスを食べられますfilesize_variation1.tmp") );
27 *** Testing filesize(): usage variations ***
28 *** Checking filesize() with different size of files ***
H A Dfilesize_variation1.phpt2 Test filesize() function: usage variations - size of files
13 echo "*** Testing filesize(): usage variations ***\n";
15 echo "*** Checking filesize() with different size of files ***\n";
19 var_dump( filesize( $file_path."/filesize_variation1.tmp") );
27 *** Testing filesize(): usage variations ***
28 *** Checking filesize() with different size of files ***
H A Dfilesize_variation2-win32.phpt2 Test filesize() function: usage variations - size of dir/subdir
13 echo "*** Testing filesize(): usage variations ***\n";
15 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
18 var_dump( filesize( $file_path."/filesize_variation2"));
23 var_dump( filesize( $file_path."/filesize_variation2"));
25 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2.tmp"));
31 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir
43 var_dump( filesize( $file_path."/filesize_variation2"));
46 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub"));
62 *** Testing filesize(): usage variations ***
[all …]
H A Dfilesize_variation2.phpt2 Test filesize() function: usage variations - size of dir/subdir
13 echo "*** Testing filesize(): usage variations ***\n";
15 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
18 var_dump( filesize( $file_path."/filesize_variation2"));
23 var_dump( filesize( $file_path."/filesize_variation2"));
25 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation1.tmp"));
31 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir
43 var_dump( filesize( $file_path."/filesize_variation2"));
46 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub"));
62 *** Testing filesize(): usage variations ***
[all …]
H A Dfread_variation3-win32-mb.phpt109 -- Reading beyond filesize, expected : 1024 bytes --
123 -- Reading beyond filesize, expected : 1024 bytes --
137 -- Reading beyond filesize, expected : 1024 bytes --
151 -- Reading beyond filesize, expected : 1024 bytes --
165 -- Reading beyond filesize, expected : 1024 bytes --
179 -- Reading beyond filesize, expected : 1024 bytes --
193 -- Reading beyond filesize, expected : 1024 bytes --
207 -- Reading beyond filesize, expected : 1024 bytes --
221 -- Reading beyond filesize, expected : 1024 bytes --
237 -- Reading beyond filesize, expected : 1024 bytes --
[all …]
H A Dfread_variation3-win32.phpt109 -- Reading beyond filesize, expected : 1024 bytes --
123 -- Reading beyond filesize, expected : 1024 bytes --
137 -- Reading beyond filesize, expected : 1024 bytes --
151 -- Reading beyond filesize, expected : 1024 bytes --
165 -- Reading beyond filesize, expected : 1024 bytes --
179 -- Reading beyond filesize, expected : 1024 bytes --
193 -- Reading beyond filesize, expected : 1024 bytes --
207 -- Reading beyond filesize, expected : 1024 bytes --
221 -- Reading beyond filesize, expected : 1024 bytes --
237 -- Reading beyond filesize, expected : 1024 bytes --
[all …]
H A Dfread_variation3.phpt109 -- Reading beyond filesize, expected : 1024 bytes --
123 -- Reading beyond filesize, expected : 1024 bytes --
137 -- Reading beyond filesize, expected : 1024 bytes --
151 -- Reading beyond filesize, expected : 1024 bytes --
165 -- Reading beyond filesize, expected : 1024 bytes --
179 -- Reading beyond filesize, expected : 1024 bytes --
193 -- Reading beyond filesize, expected : 1024 bytes --
207 -- Reading beyond filesize, expected : 1024 bytes --
221 -- Reading beyond filesize, expected : 1024 bytes --
237 -- Reading beyond filesize, expected : 1024 bytes --
[all …]
H A Dfilesize_variation4.phpt2 Test filesize() function: usage variations - file mode & holes in file
14 echo "*** Testing filesize(): usage variations ***\n";
25 var_dump( filesize($filename) ); //size of the file = strlen of string
33 var_dump( filesize($filename) ); //size of the file = strlen of string = 191 bytes
40 var_dump( filesize($filename) ); //203 bytes
47 var_dump( filesize($filename) ); //216 bytes
54 var_dump( filesize($filename) ); //220 bytes
61 var_dump( filesize($filename) ); //226 bytes
66 var_dump( filesize($filename) ); //0 bytes
72 var_dump( filesize($filename) ); //0 bytes
[all …]
H A Dfilesize_variation4-win32.phpt2 Test filesize() function: usage variations - file mode & holes in file
13 echo "*** Testing filesize(): usage variations ***\n";
23 var_dump( filesize($filename) ); //size of the file = strlen of string
31 var_dump( filesize($filename) ); //size of the file = 192 bytes != strlen of string
38 var_dump( filesize($filename) ); //204 bytes
45 var_dump( filesize($filename) ); //218 bytes
52 var_dump( filesize($filename) ); //220 bytes
59 var_dump( filesize($filename) ); //226 bytes
64 var_dump( filesize($filename) ); //0 bytes
70 var_dump( filesize($filename) ); //0 bytes
[all …]
H A Dfilesize_variation3.phpt2 Test filesize() function: usage variations - file size after truncate
7 echo "*** Testing filesize(): usage variations ***\n";
13 echo "-- Testing filesize() after truncating the file to a new length --\n";
17 for($size = filesize($filename); $size>=-1200; $size-=1200) {
25 var_dump( filesize($filename) );
36 *** Testing filesize(): usage variations ***
37 -- Testing filesize() after truncating the file to a new length --
H A Dfread_variation4.phpt101 -- Reading beyond filesize, expected : 1024 bytes --
118 -- Reading beyond filesize, expected : 1024 bytes --
135 -- Reading beyond filesize, expected : 1024 bytes --
152 -- Reading beyond filesize, expected : 1024 bytes --
169 -- Reading beyond filesize, expected : 1024 bytes --
186 -- Reading beyond filesize, expected : 1024 bytes --
203 -- Reading beyond filesize, expected : 1024 bytes --
220 -- Reading beyond filesize, expected : 1024 bytes --
237 -- Reading beyond filesize, expected : 1024 bytes --
256 -- Reading beyond filesize, expected : 1024 bytes --
[all …]
H A Dsymlink_link_linkinfo_is_link_variation4.phpt29 if( filesize($filename) == filesize($linkname) )
45 if( filesize($filename) == filesize($linkname) )
61 var_dump( filesize($filename) );
62 var_dump( filesize($linkname) );
63 if( filesize($filename) == filesize($linkname) )
H A Dcopy_variation12.phpt24 var_dump( filesize($src_dir) );
25 var_dump( filesize($dest) );
41 Warning: filesize(): stat failed for %scopy_copy_variation12 in %scopy_variation12.php on line %d
H A Dcopy_variation11.phpt19 var_dump( filesize($file) ); //size of source before copy
22 var_dump( filesize($dir) ); //size of destination before copy
37 var_dump( filesize($file) ); //size of source after copy
38 var_dump( filesize($dir) ); //size of destination after copy
H A Dcopy_variation7.phpt27 var_dump( filesize($file_path."/copy_variation7_symlink.tmp") ); //size of the symlink itself
29 var_dump( filesize($file_path."/copy_variation7_hardlink.tmp") ); //size of the file
38 var_dump( filesize($file_path."/copy_copy_variation7_symlink.tmp") );
46 var_dump( filesize($file_path."/copy_copy_variation7_hardlink.tmp") );
/PHP-8.0/pear/
H A Dfetch.php10 static $filesize = null;
30 $filesize = $bytes_max;
31 echo "Filesize: ", $filesize, "\n";
40 if (!isset($filesize)) {
43 $length = (int)(($bytes_transferred/$filesize)*100);
44 … (%2d/%2d kb)", str_repeat("=", $length). ">", $length, ($bytes_transferred/1024), $filesize/1024);
/PHP-8.0/tests/security/
H A Dopen_basedir_filesize.phpt8 test_open_basedir("filesize");
16 *** Testing open_basedir configuration [filesize] ***
23 Warning: filesize(): open_basedir restriction in effect. File(../bad) is not within the allowed pat…
26 Warning: filesize(): open_basedir restriction in effect. File(../bad/bad.txt) is not within the all…
29 Warning: filesize(): open_basedir restriction in effect. File(..) is not within the allowed path(s)…
32 Warning: filesize(): open_basedir restriction in effect. File(../) is not within the allowed path(s…
35 Warning: filesize(): open_basedir restriction in effect. File(/) is not within the allowed path(s):…
38 Warning: filesize(): open_basedir restriction in effect. File(../bad/.) is not within the allowed p…
41 Warning: filesize(): open_basedir restriction in effect. File(%s/test/bad/bad.txt) is not within th…
47 Warning: filesize(): open_basedir restriction in effect. File(./../.) is not within the allowed pat…
[all …]
/PHP-8.0/ext/zlib/tests/
H A Dzlib_scheme_stat_basic2.phpt22 echo "filesize=";
23 var_dump(filesize($srcFile));
36 filesize=
37 Warning: filesize(): stat failed for compress.zlib://%s004.txt.gz in %s on line %d
/PHP-8.0/ext/spl/tests/
H A Dbug65545.phpt17 $data = $obj->fread(filesize(__FILE__) + 32);
18 var_dump(strlen($data) === filesize(__FILE__) - 5);
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_debug_ini.phpt40 if (filesize($trace_file) < 50)
41 … printf("[004] Trace file '%s' is very small. filesize() reports only %d bytes. Please check.\n",
43 filesize($trace_file));

Completed in 52 milliseconds

1234567