Lines Matching refs:size
2 Test filesize() function: usage variations - size of dir/subdir
12 Description : Returns the size of the file in bytes, or FALSE
21 echo "\n*** Testing size of a dir, sub-dir and file with filesize() ***\n";
22 echo "-- Creating a base dir, and checking its size --\n";
27 echo "-- Creating a file inside base dir, and checking dir & file size --\n";
35 echo "-- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --\n";
37 var_dump( filesize( $file_path."/filesize_variation2")); // size of base dir
39 var_dump( filesize( $file_path."/filesize_variation2/filesize_variation2_sub")); // size of subdir
42 echo "-- Creating a file inside sub-dir, and checking size of base, subdir and file created --\n";
46 fwrite($file_handle, str_repeat("Hello,World ", 1000) ); // create file of size 12000 bytes
48 // size of base dir
51 // size of subdir
54 // size of file inside subdir
70 *** Testing size of a dir, sub-dir and file with filesize() ***
71 -- Creating a base dir, and checking its size --
73 -- Creating a file inside base dir, and checking dir & file size --
76 -- Creating an empty sub-dir in base-dir, and checking size of base and sub dir --
79 -- Creating a file inside sub-dir, and checking size of base, subdir and file created --