Seems to return FALSE if file does not exists... (PHP 5.3.4)
SplFileInfo::getSize
(PHP 5 >= 5.1.2)
SplFileInfo::getSize — Gets file size
Descrição
public int SplFileInfo::getSize
( void
)
Returns the filesize in bytes for the file referenced.
Parâmetros
Esta função não possui parâmetros.
Valor Retornado
The filesize in bytes.
Erros
A RuntimeException will be thrown if the file does not exist or an error occurs.
franssen dot roland at gmail dot com ¶
2 years ago
