array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'splfileinfo.getinode.php', 1 => 'SplFileInfo::getInode', 2 => 'Gets the inode for the file', ), 'up' => array ( 0 => 'class.splfileinfo.php', 1 => 'SplFileInfo', ), 'prev' => array ( 0 => 'splfileinfo.getgroup.php', 1 => 'SplFileInfo::getGroup', ), 'next' => array ( 0 => 'splfileinfo.getlinktarget.php', 1 => 'SplFileInfo::getLinkTarget', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/splfileinfo/getinode.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SplFileInfo::getInode

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

SplFileInfo::getInodeGets the inode for the file

说明

public SplFileInfo::getInode(): int|false

Gets the inode number for the filesystem object.

参数

此函数没有参数。

返回值

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

错误/异常

Throws RuntimeException on error.

参见