PHP linkinfo() Function
In this chapter you will learn:
- Definition for PHP linkinfo() Function
- Syntax for PHP linkinfo() Function
- Parameter for PHP linkinfo() Function
- Return for PHP linkinfo() Function
- Note for PHP linkinfo() Function
- Example - Returns information about a hard link
Definition
The linkinfo() function returns information about a hard link.
Syntax
PHP linkinfo() Function has the following syntax.
linkinfo(path)
Parameter
Parameter | Is Required | Description |
---|---|---|
path | Required. | Path to check |
Return
This function returns a device ID, or FALSE on failure.
Note
This function is not implemented on Windows.
Example
<?php//from j av a2s .c o m
echo linkinfo('/test');
?>
Next chapter...
What you will learn in the next chapter:
- Definition for PHP lstat() Function
- Syntax for PHP lstat() Function
- Parameter for PHP lstat() Function
- Return for PHP lstat() Function
- Note on PHP stat() Function
- Example - returns information about a file or symbolic link
Home » PHP Tutorial » PHP File Functions