PHP 7.0.6 Released

SplFileInfo::getInode

(PHP 5 >= 5.1.2, PHP 7)

SplFileInfo::getInodeGets the inode for the file

Description

public int SplFileInfo::getInode ( void )

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

User Contributed Notes

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