readlink(3) php man page | unix.com

Man Page: readlink

Operating Environment: php

Section: 3

READLINK(3)								 1							       READLINK(3)

readlink - Returns the target of a symbolic link

SYNOPSIS
string readlink (string $path)
DESCRIPTION
readlink(3) does the same as the readlink C function.
PARAMETERS
o $path - The symbolic link path.
CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | This function is now available on Windows plat- | | | forms (Vista, Server 2008 or greater). | | | | +--------+---------------------------------------------------+
RETURN VALUES
Returns the contents of the symbolic link path or FALSE on error.
EXAMPLES
Example #1 readlink(3) example <?php // output e.g. /boot/vmlinux-2.4.20-xfs echo readlink('/vmlinuz'); ?>
SEE ALSO
is_link(3), symlink(3), linkinfo(3). PHP Documentation Group READLINK(3)
Related Man Pages
readlink(2) - linux
readlink(2) - bsd
readlink(2) - osx
is_link(3) - php
readlink(3) - php
Similar Topics in the Unix Linux Community
how to extract last occurence of the field
using server's symbolic link by client
what's wrong with my match pattern
How to list all symbolic link?
Moving the target of a symbolic link