©
本文檔使用 php中文網手册 發布
(PHP 5 >= 5.1.2)
SplFileInfo::getSize — Gets file size
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.
[#1] franssen dot roland at gmail dot com [2011-04-30 05:59:22]
Seems to return FALSE if file does not exists... (PHP 5.3.4)