略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SplFileInfo::getInode

2024-11-15

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 noteadd a note

User Contributed Notes 1 note

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

官方地址:https://www.php.net/manual/en/splfileinfo.getinode.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3