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
This commit is contained in:
Christoph Michael Becker 2018-02-28 12:32:28 +00:00
parent a2165b1ec5
commit 4fa631348e

View file

@ -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>
@ -73,6 +74,13 @@
</row>
</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>