downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SplFileInfo::getType> <SplFileInfo::getRealPath
Last updated: Fri, 13 Nov 2009

view this page in

SplFileInfo::getSize

(PHP 5 >= 5.1.2)

SplFileInfo::getSizeファイルサイズを取得する

説明

public int SplFileInfo::getSize ( void )

参照するファイルのファイルサイズをバイト数で返します。

パラメータ

この関数にはパラメータはありません。

返り値

ファイルサイズをバイト数で返します。

エラー / 例外

ファイルが存在しなかった場合やエラーが発生した場合に RuntimeException をスローします。

参考

  • filesize() - ファイルのサイズを取得する



add a note add a note User Contributed Notes
SplFileInfo::getSize
There are no user contributed notes for this page.

SplFileInfo::getType> <SplFileInfo::getRealPath
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites