Lines Matching refs:bytes
12 Description : Returns the size of the file in bytes, or FALSE
36 var_dump( strlen($string) ); //strlen of the string = 191 bytes
39 var_dump( filesize($filename) ); //size of the file = strlen of string = 191 bytes
46 var_dump( filesize($filename) ); //203 bytes
53 var_dump( filesize($filename) ); //216 bytes
58 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
60 var_dump( filesize($filename) ); //220 bytes
65 fwrite($file_handle, "Hello\0"); //wrting 6 bytes of data
67 var_dump( filesize($filename) ); //226 bytes
72 var_dump( filesize($filename) ); //0 bytes
78 var_dump( filesize($filename) ); //0 bytes