Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SplFileInfo::getGroupSplFileInfo::getLinkTarget>
^SplFileInfoLast updated: Mon, 26 Oct 2026

SplFileInfo::getInode

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

SplFileInfo::getInode — Gets the inode for the file

Description

public function 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


<SplFileInfo::getGroupSplFileInfo::getLinkTarget>
^SplFileInfoLast updated: Mon, 26 Oct 2026