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.

参见

User Contributed Notes

sander at webpirates dot nl 12-Jun-2009 02:03
Question raised on DPC2009: What does getInode() return on windows? Answer: int 0.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有