All help topics · Link to this topic
Showing help on 'getenv()'
Syntax: getenv (STR name)Returns the value of the named environment variable. If no such environment variable exists, 0 is returned. If the programmer is not a wizard, then E_PERM is raised.
getenv("HOME") => "/home/foobar"
getenv("XYZZY") => 0