|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74785 Second parameter to getenv since when?
Submitted: 2017-06-20 05:46 UTC Modified: 2017-06-20 14:02 UTC
From: php at hatlak dot de Assigned: cmb (profile)
Status: Closed Package: PHP options/info functions
PHP Version: 7.1.6 OS:
Private report: No CVE-ID: None
 [2017-06-20 05:46 UTC] php at hatlak dot de
From manual page:

There are two issues regarding the second parameter to getenv, "local_only":

Issue 1: Not clear since which version the second parameter is available
Issue 2: Second parameter is not documented in German translation

Since the second parameter is not documented in the German translation yet (BTW PHPStorm 2017.1.4 doesn't know about it yet either) I assume it has not always been available. However the documentation doesn't tell since which version it has been made available.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-20 13:42 UTC]
-Status: Open +Status: Analyzed -Package: Documentation problem +Package: PHP options/info functions -Assigned To: +Assigned To: cmb
 [2017-06-20 13:42 UTC]
The second parameter has been introduced in 98b9dfa[1], and is
available as of PHP 5.5.38, 5.6.24 and 7.0.9, respectively[2].

[1] <>
[2] <>
 [2017-06-20 14:02 UTC]
-Status: Analyzed +Status: Closed
 [2017-06-20 14:02 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Fixed in <> and
 [2017-06-29 16:04 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix #74785: Second parameter to getenv since when?
 [2020-02-07 06:06 UTC]
Automatic comment on behalf of cmb
Log: Fix #74785: Second parameter to getenv since when?
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun May 16 12:01:24 2021 UTC