Name
getenv — Change or add an environment variable
Synopsis
string
getenv
( |
string
name
) ; |
Description
The getenv(variable) function returns the value of variable from environment. If variable doesn't exist the value is NULL.
Usage
getenv ("USER") -> "root"
getenv ("LC_CTYPE") -> "en_US.UTF-8"