SplFileInfo::getInode

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

SplFileInfo::getInodeGets the inode for the file

Description

public SplFileInfo::getInode(): int|false

Gets the inode number for the filesystem object.

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

Throws RuntimeException on error.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top