PHP 8.1.0 RC 2 available for testing

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 add a note

User Contributed Notes 1 note

up
1
sander at webpirates dot nl
12 years ago
Question raised on DPC2009: What does getInode() return on windows? Answer: int 0.
To Top