Dutch PHP Conference 2025 - Call For Papers

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.

Прогляньте також

add a note

User Contributed Notes 1 note

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