SplFileInfo::getSize

(PHP 5 >= 5.1.2, PHP 7)

SplFileInfo::getSizeGets file size

˵��

public SplFileInfo::getSize ( void ) : int

Returns the filesize in bytes for the file referenced.

����

�˺���û�в�����

����ֵ

The filesize in bytes.

�����쳣

A RuntimeException will be thrown if the file does not exist or an error occurs.

�μ�