Object function reference

path

A reference entry for path

Object function · File

path() ⇒ string

Provides the path operation for this object.

Example

YASS
$canonical = $file->path()
print($canonical)

Notes

Returns the full canonical path of the file or directory.