expandPath() expandPath(string $path) : string Parses tildes and environment variables in paths. Parameters string $path Returns string
getUserDirectory() getUserDirectory() : string Throws \RuntimeException If the user home could not reliably be determined Returns string — The formal user home as detected from environment parameters
strlen() strlen(string $str) : integer Parameters string $str Returns integer — return a guaranteed binary length of the string, regardless of silly mbstring configs