SplFileInfo::getInode

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

SplFileInfo::getInodeGets the inode for the file

說(shuō)明

public SplFileInfo::getInode(): int|false

Gets the inode number for the filesystem object.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

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

錯(cuò)誤/異常

Throws RuntimeException on error.

參見(jiàn)