Function
realpath
Synopsis
realpath(string): mixed
- Area
Runtime\PS\Files\realpathareas
Description
realpath returns $path written from the root, with . and .. resolved, or false when nothing is there; php answers a host path, and a runtime that may serve its scripts out of an embedded tree has none to answer with and this answers the spelling getcwd() and __DIR__ use.
Usage
$value = realpath($arguments);
$fn = realpath(...);