Doc #74785 [Ana->Csd]: Second parameter to getenv since when?

From: Date: Tue, 20 Jun 2017 14:02:28 +0000
Subject: Doc #74785 [Ana->Csd]: Second parameter to getenv since when?
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14784@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74785&edit=1 ID: 74785 Updated by: cmb@php.net Reported by: php at hatlak dot de Summary: Second parameter to getenv since when? -Status: Analyzed +Status: Closed Type: Documentation Problem Package: PHP options/info functions PHP Version: 7.1.6 Assigned To: cmb Block user comment: N Private report: N New Comment: 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 <http://svn.php.net/viewvc?view=revision&revision=342615> and <http://svn.php.net/viewvc?view=revision&revision=342616>. Previous Comments: ------------------------------------------------------------------------ [2017-06-20 13:42:28] cmb@php.net 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] <https://github.com/php/php-src/commit/98b9dfa> [2] <https://3v4l.org/JBX29> ------------------------------------------------------------------------ [2017-06-20 05:46:41] php at hatlak dot de Description: ------------ --- From manual page: http://www.php.net/function.getenv --- 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74785&edit=1

« previous php.doc.bugs (#14784) next »