English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The linkinfo() function can return information about hard links and can return the device ID; if it fails, it returns false.
int linkinfo ( string $path )
This function is used to verify whether the link indeed exists (pointing to the path).
<?php echo linkinfo("/PhpProject/sample.txt"); ?>
Output Result
1245376677PHP Filesystem Reference Manual