• PHP Video Tutorials

PHP - Function linkinfo()



The linkinfo() function can return information about a hard link, and this function can return device ID, or false if it fails.

Syntax

int linkinfo ( string $path )

This function is used to verify if a link (pointed to by path) really exists.

Example

<?php
   echo linkinfo("/PhpProject/sample.txt"); 
?>

Output

1245376677
php_function_reference.htm
Advertisements