SplFileInfo::getInode
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.2, PHP 7, PHP 8)
Gets the inode for the file
Description
SplFileInfo::getInode(): int|false
Gets the inode number for the filesystem object.
Parameters Parameters
Return Values
Returns the inode number for the filesystem object on success, or false on failure.
Errors/Exceptions
Throws RuntimeException on error.