Name
setenv — Change or add an environment variable
Synopsis
boolean
setenv
( |
string
variable
, |
| |
string
value
); |
Parameters
-
string
variable
-
string
value
Description
The setenv() function adds the variable to the environment with the value. If variable exist the value is changed.
Usage
setenv("PATH", "/home/user")