Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27448 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13979 invoked by uid 1010); 15 Jan 2007 04:46:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13964 invoked from network); 15 Jan 2007 04:46:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2007 04:46:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=pollita@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pollita@php.net; sender-id=unknown; domainkeys=good Received-SPF: error (pb1.pair.com: domain php.net from 140.211.166.39 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pollita@php.net X-Host-Fingerprint: 140.211.166.39 osu1.php.net Linux 2.4/2.6 Received: from [140.211.166.39] ([140.211.166.39:54289] helo=osu1.php.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/91-02482-F170BA54 for ; Sun, 14 Jan 2007 23:46:24 -0500 X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=mx; d=php.net; h=From:Subject:To:Date; b=Jqfs2EZ40st/f/4kH5+cM4zoRKS+do4M9c6oY1iEfEdzdkASstkaiHj9CbxaH2Ro 3uE34/wHyZ95m2KUgDESpAG2aAfQRVqnb0hpbOPD4XrgNgxzcRoXCx/nE2Vu8eoi Authentication-Results: osu1.php.net smtp.user=pollita; auth=pass (LOGIN) X-Host-Fingerprint: 216.145.49.15 unknown Received: from [216.145.49.15] ([216.145.49.15:4269] helo=[10.72.72.213]) by osu1.php.net (ecelerity 2.1.1.11-rc1 r(13363/13364M)) with ESMTPSA (cipher=AES256-SHA) id 79/00-07125-8670BA54 for ; Sun, 14 Jan 2007 20:47:36 -0800 Message-ID: <45AB0715.50106@php.net> Date: Sun, 14 Jan 2007 20:46:13 -0800 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: andi@zend.com, internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: RE: Runtime JIT Proposals From: pollita@php.net (Sara Golemon) > Sorry but I wasn't on IRC so I don't quite > understand what you're trying to accomplish ;) > Can you please explain? Once I understand what > you're trying to accomplish I'll be more than > happy to provide feedback to the > options list. > Oh, sorry, I thought you were in the email thread which preceeded the IRC discussion... Okay, I'll back up. The root problem is HTTP input encoding detection for PHP6. As you probably know, browsers don't tell webservers what encoding they're using, they just toss request data and hope the server knows how to deal with it. PHP of course, has no idea what the script author has in mind for the purposes of their app so it has to resort to making "best guesses" which are sometimes accurate, sometimes not. In order to boost the accuracy rate, we (Andrei, and others) thought it'd be a good idea to delay decoding of request parameters until during runtime (so that the user can perform some logic and perhaps offer a hint to the engine as to what encoding should be used). To accomplish this, it made sense to us the JIT semantics of autoglobals as the mechanism. This approach (which got some decent buyin from the list last month), means that the next steps get moved back by an action. I.e. Before working up request encoding, we make JIT actually *be* JIT. The approach we take to do this step is the subject of my earlier post. Hope that helps clear things up. -Sara