Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43961 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91680 invoked from network); 14 May 2009 20:12:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 May 2009 20:12:43 -0000 Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain gravitonic.com from 209.85.200.174 cause and error) X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 209.85.200.174 wf-out-1314.google.com Received: from [209.85.200.174] ([209.85.200.174:19054] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/56-27038-B3B7C0A4 for ; Thu, 14 May 2009 16:12:43 -0400 Received: by wf-out-1314.google.com with SMTP id 28so823026wfc.26 for ; Thu, 14 May 2009 13:12:40 -0700 (PDT) Received: by 10.142.216.18 with SMTP id o18mr831582wfg.251.1242331960849; Thu, 14 May 2009 13:12:40 -0700 (PDT) Received: from barley.local (64-71-7-198.static.wiline.com [64.71.7.198]) by mx.google.com with ESMTPS id 30sm887990wff.29.2009.05.14.13.12.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 May 2009 13:12:40 -0700 (PDT) Message-ID: <4A0C7B37.2050206@gravitonic.com> Date: Thu, 14 May 2009 13:12:39 -0700 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: jani.taskinen@iki.fi CC: Ilia Alshanetsky , PHP internals References: <4A0C4D97.3090307@gravitonic.com> <4A0C57CD.4030306@gravitonic.com> <4A0C76B7.903@sci.fi> In-Reply-To: <4A0C76B7.903@sci.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Request decoding in PHP 6 [patch] From: andrei@gravitonic.com (Andrei Zmievski) Jani Taskinen wrote: >> This is a good idea. However, we still have the issue of extensions >> needing some data from the request before $_POST or $_GET are ever >> mentioned in the script, since the decoding is done only at that time. > > You just need to call zend_is_auto_global() to trigger the init. I know that this is an option, but I don't think it's a good one, because it defeats the purpose of JIT. What's the point if we always process $_POST/$_GET/$_COOKIES without giving the user a chance to figure out what the encoding is? > btw. ext/session does only need the stuff in RINIT if session.auto_start > is enabled. Just remove that option. :D Heh. -Andrei