The filesize() function returns the file size.
This function returns the file size in bytes or false on error.
Syntax
filesize(filename)
Example
echo filesize("content.txt");
Output
10
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.