Lines Matching refs:bytes
12 Description : Returns the size of the file in bytes, or FALSE
34 var_dump( strlen($string) ); //strlen of the string = 191 bytes
37 var_dump( filesize($filename) ); //size of the file = 192 bytes != strlen of string
44 var_dump( filesize($filename) ); //204 bytes
51 var_dump( filesize($filename) ); //218 bytes
56 var_dump( ftruncate($file_handle, 220) ); //creating 4 bytes of hole
58 var_dump( filesize($filename) ); //220 bytes
63 fwrite($file_handle, "Hello\0"); //wrting 6 bytes of data
65 var_dump( filesize($filename) ); //226 bytes
70 var_dump( filesize($filename) ); //0 bytes
76 var_dump( filesize($filename) ); //0 bytes