The linkinfo() function returns information about a hard link.
PHP linkinfo() Function has the following syntax.
linkinfo(path)
Parameter | Is Required | Description |
---|---|---|
path | Required. | Path to check |
This function returns a device ID, or FALSE on failure.
This function is not implemented on Windows.
<?php
echo linkinfo('/test');
?>