Function

getcwd

Synopsis

getcwd(): string

Area
Runtime\PS\Files\getcwdareas

Description

getcwd returns the working directory, written from the source filesystem's root: "/" for the root itself, "/app" for a directory below it. PHP answers a host path; a runtime that may serve its scripts out of an embedded tree has none to answer with.

Usage

$value = getcwd($arguments);
$fn = getcwd(...);

See also