Re: [PHP-DEV] $_SERVER registration issue

2003-03-18 Thread Andrei Zmievski
On Tue, 18 Mar 2003, Zeev Suraski wrote: > Well, it works well though :) All you have to do is hint PHP that you're > going to touch it, and it will be available for you immediately. To do > that, simply call: > > zend_is_auto_global("_SERVER", sizeof("_SERVER")-1 TSRMLS_CC); > > and you're d

Re: [PHP-DEV] $_SERVER registration issue

2003-03-18 Thread Zeev Suraski
At 23:51 17/03/2003, Andrei Zmievski wrote: Today I tried to run PHP-GTK with ZE2 changes against current CVS and it segfaulted. I traced it to the fact that PG(http_globals)[TRACK_SERVER_VARS] is no longer available if $_SERVER is not present in the PHP code, due to the changes Zeev (I think) made

Re: [PHP-DEV] $_SERVER registration issue

2003-03-17 Thread Andi Gutmans
At 04:51 PM 3/17/2003 -0500, Andrei Zmievski wrote: Today I tried to run PHP-GTK with ZE2 changes against current CVS and it segfaulted. I traced it to the fact that PG(http_globals)[TRACK_SERVER_VARS] is no longer available if $_SERVER is not present in the PHP code, due to the changes Zeev (I thi

Re: [PHP-DEV] $_SERVER registration issue

2003-03-17 Thread Sterling Hughes
On Mon, 2003-03-17 at 16:51, Andrei Zmievski wrote: > Today I tried to run PHP-GTK with ZE2 changes against current CVS and it > segfaulted. I traced it to the fact that > PG(http_globals)[TRACK_SERVER_VARS] is no longer available if $_SERVER > is not present in the PHP code, due to the changes Zee

Re: [PHP-DEV] $_SERVER registration issue

2003-03-17 Thread Sterling Hughes
On Mon, 2003-03-17 at 16:51, Andrei Zmievski wrote: > Today I tried to run PHP-GTK with ZE2 changes against current CVS and it > segfaulted. I traced it to the fact that > PG(http_globals)[TRACK_SERVER_VARS] is no longer available if $_SERVER > is not present in the PHP code, due to the changes Zee