PHP 8.3.4 Released!

SplFileInfo::getInode

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

SplFileInfo::getInodeファイルの inode を取得する

説明

public SplFileInfo::getInode(): int|false

ファイルシステムオブジェクトの inode 番号を取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

ファイルシステムオブジェクトの inode 番号を返します。 失敗時に false を返します。

エラー / 例外

エラー時に RuntimeException をスローします。

参考

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