SplFileInfo::getInode

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

SplFileInfo::getInodeGets the inode for the file

Description

public SplFileInfo::getInode(): int

Gets the inode number for the filesystem object.

Parameters

This function has no parameters.

Return Values

Returns the inode number for the filesystem object.

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
14 years ago
Question raised on DPC2009: What does getInode() return on windows? Answer: int 0.
To Top