(PHP 5 >= 5.1.2, PHP 7, PHP 8)
SplFileInfo::getInode — Gets the inode for the file
public SplFileInfo::getInode(): int|false
Gets the inode number for the filesystem object.
This function has no parameters.
Returns the inode number for the filesystem object on success, or false on failure.
Throws RuntimeException on error.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/splfileinfo.getinode.php