Menu Samaritan's Purse

LINKINFO

Gets information about a link

SYNTAX

linkinfo ( string $path ) : int

PARAMETERS

path

Path to the link.

RETURN

linkinfo() returns the st_dev field of the Unix C stat structure returned by the lstat system call. Returns a non-negative integer on success, -1 in case the link was not found, or FALSE if an open.base_dir violation occurs.

EXAMPLES

1

64772

2

-1

PHP