PHP funkce getenv()
Dostupnost ve verzích: PHP 4.0, PHP 7.1
Gets the value of an environment variable
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$varname |
string |
null | The variable name. |
Návratové hodnoty
string
|array|false the value of the environment variable varname or array with all environment variables if no variable name provided, or false on an error.