PHP Tutorial - PHP linkinfo() Function






Definition

The linkinfo() function returns information about a hard link.

Syntax

PHP linkinfo() Function has the following syntax.

linkinfo(path)

Parameter

ParameterIs RequiredDescription
pathRequired.Path to check

Return

This function returns a device ID, or FALSE on failure.

Note

This function is not implemented on Windows.

Example


<?php

echo linkinfo('/test');

?>