SplFileInfo::getInode

(PHP 5 >= 5.1.2, PHP 7, PHP 8)

SplFileInfo::getInodeGets the inode for the file

說明

public SplFileInfo::getInode(): int|false

Gets the inode number for the filesystem object.

參數

此函數沒有參數。

返回值

Returns the inode number for the filesystem object on success, or false on failure.

錯誤/異常

Throws RuntimeException on error.

參見