Question raised on DPC2009: What does getInode() return on windows? Answer: int 0.
PHP - Manual: SplFileInfo::getInode
2024-11-15
(PHP 5 >= 5.1.2, PHP 7, PHP 8)
SplFileInfo::getInode — Gets the inode for the file
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.
Question raised on DPC2009: What does getInode() return on windows? Answer: int 0.