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

search for in the

SplFileInfo::getType> <SplFileInfo::getRealPath
[edit] Last updated: Fri, 24 Jun 2011

view this page in

SplFileInfo::getSize

(PHP 5 >= 5.1.2)

SplFileInfo::getSizeدریافت اندازه فایل

Description

public int SplFileInfo::getSize ( void )

بازگرداندن اندازه فایل به بایت برای فایل ارجاع شده.

Parameters

This function has no parameters.

Return Values

اندازه فایل به بایت.

Errors/Exceptions

ایجاد RuntimeException اگر فایل وجود نداشته باشد یا خطای دیگری صورت پذیرد.

See Also



add a note add a note User Contributed Notes SplFileInfo::getSize - [1 notes]
up
0
franssen dot roland at gmail dot com
2 years ago
Seems to return FALSE if file does not exists... (PHP 5.3.4)

 
show source | credits | sitemap | contact | advertising | mirror sites