Re: PHP CLI environment variables
| From: | Pierre-Alain Joye | Date: | Wed, 06 Nov 2002 13:19:35 +0000 |
| Subject: | Re: PHP CLI environment variables | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90557@lists.php.net to get a copy of this message | ||
On Wed, 6 Nov 2002 14:11:03 +0100
Kjartan Mannes <kjartan@zind.net> wrote:
> Doesn't this make things overly complex? Any good reason why the
> missing values in variables_order don't just get automatically
> appended to the end?
It is just faster to check if the var exists and returns it instead of
always uses getenv(), and, in most cases, $_ENV['foo'] is available.
I just search in the archives the thread about that
(http://marc.theaimsgroup.com/?l=pear-dev&m=103029875701504&w=2).
php.ini-recommanded removes the E from the variables_order. I did not
check the current recommanded ini.
pa