Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22539 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10444 invoked by uid 1010); 20 Mar 2006 15:19:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 10428 invoked from network); 20 Mar 2006 15:19:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Mar 2006 15:19:21 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:6894] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 37/3E-55982-8F7CE144 for ; Mon, 20 Mar 2006 10:19:21 -0500 Received: (qmail 13255 invoked from network); 20 Mar 2006 15:19:15 -0000 Received: from localhost (HELO zeev-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 20 Mar 2006 15:19:15 -0000 Message-ID: <7.0.1.0.2.20060320170743.0addfec0@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 20 Mar 2006 17:19:36 +0200 To: Rasmus Lerdorf Cc: internals In-Reply-To: <441EB719.6050104@lerdorf.com> References: <44183C6F.900@lerdorf.com> <7.0.1.0.2.20060320144418.0ad572d0@zend.com> <441EB719.6050104@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect From: zeev@zend.com (Zeev Suraski) At 16:07 20/03/2006, Rasmus Lerdorf wrote: >Zeev Suraski wrote: >>At 18:10 15/03/2006, Rasmus Lerdorf wrote: >>>Our default config has both auto_globals_jit and >>>register_argc_argv enabled. However, having register_argc_argv >>>enabled disables auto_globals_jit which carries a really high WTF factor. >>I don't think WTF terminology fits here, as it's an extreme case of >>performance optimization and doesn't affect functionality. Not >>exactly the interest of the average (and even advanced) user. It's >>end-user (developer) transparent. Irregardless, I actually think >>it makes perfect sense that if you ask PHP to do stuff with GET / >>POST variables on every request (register_argc_argv), it wouldn't >>make sense to JIT them. > >We don't jit GET/POST. OK, I agree with you, the correlation is a weaker than I thought (didn't recall I didn't get around to JIT'ing get/post). If we were to do it it probably makes sense to just keep a global reference to argv/argc, and move the code that puts them into _SERVER to php_register_server_variables(). Should be pretty clean, no? Zeev