diff --git a/reference/info/functions/getenv.xml b/reference/info/functions/getenv.xml index ad09d53591..15cf67ba85 100644 --- a/reference/info/functions/getenv.xml +++ b/reference/info/functions/getenv.xml @@ -58,7 +58,8 @@ Returns the value of the environment variable varname, or &false; if the environment variable varname does not exist. - Returns all environment variables without varname. + If varname is omitted, all environment variables are + returned as associative array. @@ -73,6 +74,13 @@ + + 7.1.0 + + The varname can now be omitted to retrieve an + associative array of all environment variables. + + 5.5.38, 5.6.24, 7.0.9