Re: $_SERVER registration issue

From: Date: Mon, 17 Mar 2003 21:41:52 +0000
Subject: Re: $_SERVER registration issue
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-78@lists.php.net to get a copy of this message
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 Zeev (I think) made > in order to improve efficiency. I don't quite agree with the way it > works right now. My extension needs access to the $_SERVER['argv'] and > $_SERVER['argc'] variables internally, even if the user code doesn't. > How am I supposed to retrieve those variable if they aren't even > registered? > We should add internal constructors for accessing these variables. -Sterling > -Andrei Ï»}ŠEY¬ > � ³•/SÙhttp://www.gravitonic.com/ > * "UNIX, isn't that some archaic form of DOS?" - our job applicant * -- "First they ignore you, then they laugh at you, then they fight you, then you win." - Gandhi

« previous php.internals (#78) next »