Name
filesize
Synopsis
int filesize(string path
)
Returns the size, in bytes, of the file
path
. If the file does not exist, or any
other error occurs, the function returns false
.
This information is cached; you can clear the cache with
clearstatcache( )
.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.