SplFileInfo::getRealPath
SplFileInfo::getType
SplFileInfo
PHP Manual

# SplFileInfo::getSize

(PHP 5 >= 5.1.2)

SplFileInfo::getSize — Gets file size

### 설명

public int SplFileInfo::getSize ( void )

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.

### 참고

- filesize() - Gets file size

SplFileInfo::getRealPath
SplFileInfo::getType
SplFileInfo
PHP Manual