[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/info/functions/_getenv.xml?=
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2018-02-28 12:32:28
Message-ID: svn-cmb-1519821148-344396-1189873607 () svn ! php ! net
[Download RAW message or body]
cmb Wed, 28 Feb 2018 12:32:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=344396
Log:
Fix bug #76027: Incorrect info in documentation for getenv
Bug: https://bugs.php.net/76027 (Open) Incorrect info in documentation for getenv
Changed paths:
U phpdoc/en/trunk/reference/info/functions/getenv.xml
Modified: phpdoc/en/trunk/reference/info/functions/getenv.xml
===================================================================
--- phpdoc/en/trunk/reference/info/functions/getenv.xml 2018-02-27 21:29:46 UTC (rev 344395)
+++ phpdoc/en/trunk/reference/info/functions/getenv.xml 2018-02-28 12:32:28 UTC (rev 344396)
@@ -58,7 +58,8 @@
Returns the value of the environment variable
<parameter>varname</parameter>, or &false; if the environment
variable <parameter>varname</parameter> does not exist.
- Returns all environment variables without <parameter>varname</parameter>.
+ If <parameter>varname</parameter> is omitted, all environment variables are
+ returned as associative <type>array</type>.
</para>
</refsect1>
@@ -74,6 +75,13 @@
</thead>
<tbody>
<row>
+ <entry>7.1.0</entry>
+ <entry>
+ The <parameter>varname</parameter> can now be omitted to retrieve an
+ associative <type>array</type> of all environment variables.
+ </entry>
+ </row>
+ <row>
<entry>5.5.38, 5.6.24, 7.0.9</entry>
<entry>
The <parameter>local_only</parameter> parameter has been added.
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic