Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Pierre-Alain Joye
On Wed, 6 Nov 2002 14:11:03 +0100 Kjartan Mannes <[EMAIL PROTECTED]> 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 inste

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Kjartan Mannes
Wednesday, November 6, 2002, 1:54:21 PM, Pierre-Alain Joye wrote: > As far as I remember, this a knonw problem due to the variables order or > something like that. We ve got it in PEAR a few weeks ago, solved by > using a simple: > $foo = isset($_ENV['foo'])?$_ENV['foo']:getenv('foo'); > See php

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Kjartan Mannes
Wednesday, November 6, 2002, 1:46:25 PM, Marcus Boerger wrote: > Does ini setting variables_order include E? Does now and it works as expected. Thanks. > At 13:30 06.11.2002, Kjartan Mannes wrote: >>I just tried using php-cli from the latest cvs and am a little confused >>by the placement of shel

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Pierre-Alain Joye
On Wed, 6 Nov 2002 13:30:03 +0100 Kjartan Mannes <[EMAIL PROTECTED]> wrote: > I just tried using php-cli from the latest cvs and am a little > confused by the placement of shell environment variables. $_ENV is > empty, but the values are stored in $HTTP_SERVER_VARS and $_SERVER. > > Is this the p

Re: [PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Marcus Boerger
Does ini setting variables_order include E? At 13:30 06.11.2002, Kjartan Mannes wrote: I just tried using php-cli from the latest cvs and am a little confused by the placement of shell environment variables. $_ENV is empty, but the values are stored in $HTTP_SERVER_VARS and $_SERVER. Is this the

[PHP-DEV] PHP CLI environment variables

2002-11-06 Thread Kjartan Mannes
I just tried using php-cli from the latest cvs and am a little confused by the placement of shell environment variables. $_ENV is empty, but the values are stored in $HTTP_SERVER_VARS and $_SERVER. Is this the proper behavior? -- Kjartan <[EMAIL PROTECTED]> (http://natrak.net/) :: "Women are mad