Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28973 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60925 invoked by uid 1010); 24 Apr 2007 12:43:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60909 invoked from network); 24 Apr 2007 12:43:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2007 12:43:32 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:56576] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/68-21560-B4BFD264 for ; Tue, 24 Apr 2007 08:42:52 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 5B795DF0194; Tue, 24 Apr 2007 14:42:48 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14742-04; Tue, 24 Apr 2007 14:42:43 +0200 (CEST) Received: from [127.0.0.1] (sccc-66-78-236-255.smartcity.com [66.78.236.255]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id 51FE6DF0133; Tue, 24 Apr 2007 14:42:41 +0200 (CEST) Message-ID: <462DFB40.7050807@pooteeweet.org> Date: Tue, 24 Apr 2007 05:42:40 -0700 User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Pierre Cc: Andrei Zmievski , Andi Gutmans , Sara Golemon , Dmitry Stogov , Rasmus Lerdorf , internals@lists.php.net References: <000001c75030$b1825730$6e02a8c0@thinkpad> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] Re: runtime JIT From: mls@pooteeweet.org (Lukas Kahwe Smith) Hello, From my understanding the main thing that is holding back a first preview/alpha release of PHP6 is solving the below explained issues in the JIT parameter handling. Pierre and Dmitry were the two most likely candidates to implement this, but I guess both of them are busy (?). Maybe someone else feels capable of taking over this task for them? regards, Lukas Pierre wrote: > The issue is not specifically with the ext/session but with extensions > accessing the input data during RINIT. For example, ext/session tries > to access the HTTP input to fetch a possible SESSID. > > To keep the JIT at runtime only I like to add an internals API to > access the input value as raw/binary data, without decoding them. It > will be the responsibility of the extension to correctly decode the > data. > > It would be possible to implement JIT in each extension, but as soon > as the script uses a different encoding than the extension (which is > defined by http.input_encoding or another specific php.ini option), we > will have to decode the complete input two times (or more on error). > > I'm reviewing the other extension for the http_globals usage. I will > come with the API and the patch as soon as possible.