Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62903 invoked from network); 18 Mar 2003 14:06:06 -0000 Received: from unknown (HELO hyperion.gravitonic.com) (65.198.110.5) by pb1.pair.com with SMTP; 18 Mar 2003 14:06:06 -0000 Received: (from andrei@localhost) by hyperion.gravitonic.com (8.11.6/8.11.6) id h2IE5RB06582; Tue, 18 Mar 2003 09:05:27 -0500 X-Authentication-Warning: hyperion.gravitonic.com: andrei set sender to andrei@gravitonic.com using -f Date: Tue, 18 Mar 2003 09:05:26 -0500 To: Zeev Suraski Cc: PHP Internals Message-ID: <20030318140525.GG30611@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , Zeev Suraski , PHP Internals References: <20030317215120.GA29815@hyperion.gravitonic.com> <5.1.0.14.2.20030318103438.06243f20@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20030318103438.06243f20@localhost> User-Agent: Mutt/1.4i Subject: Re: [PHP-DEV] $_SERVER registration issue From: andrei@gravitonic.com (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 done. ext/standard/info.c already makes use of this. Thanks, that worked. -Andrei http://www.gravitonic.com/ When we eliminate the impossible, whatever remains, however improbable, must be true. -- Sherlock Holmes