realpath
realpath
(PHP 4, PHP 5, PHP 7)
realpath — Returns canonicalized absolute pathname
Description
string realpath ( string $path )
realpath() expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in the input path
and returns the canonicalized absolute pathname.
Parameters
-
path
-
The path being checked.