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

From: Date: Tue, 20 Jun 2017 13:42:31 +0000
Subject: Doc #74785 [Opn->Ana]: Second parameter to getenv since when?
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14783@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: Open +Status: Analyzed Type: Documentation Problem -Package: Documentation problem +Package: PHP options/info functions PHP Version: 7.1.6 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: 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> Previous Comments: ------------------------------------------------------------------------ [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 (#14783) next »