From 4fa631348e0ed69ffefe7481ca7591ce98d6c498 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Wed, 28 Feb 2018 12:32:28 +0000 Subject: [PATCH] Fix bug #76027: Incorrect info in documentation for getenv git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344396 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/info/functions/getenv.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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