SplFileInfo::getInode
PHP Manual
PHP Manual»SplFileInfo»SplFileInfo::getInode

SplFileInfo::getInode

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

SplFileInfo::getInodeGets the inode for the file

Descrizione

public function SplFileInfo::getInode(): int|false

Gets the inode number for the filesystem object.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

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

Errori/Eccezioni

Throws RuntimeException on error.

Vedere anche:

  • fileinode() - Restituisce il numero di inode del file

To Top