Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27696 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97118 invoked by uid 1010); 27 Jan 2007 19:48:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97103 invoked from network); 27 Jan 2007 19:48:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2007 19:48:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.229 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.162.229 nz-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.162.229] ([64.233.162.229:15311] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/37-32805-E8CABB54 for ; Sat, 27 Jan 2007 14:48:31 -0500 Received: by nz-out-0506.google.com with SMTP id k1so1088796nzf for ; Sat, 27 Jan 2007 11:48:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Area8G4LiKZi4+p5NZTOica44bft/kCcZ4RBDXAlH28XHWdv02TJSVIY4RV2Rh336XcxlsdpjEgvrdBGKye0HGteho6mcjKIvW9cxwbqbLVQ1XUHHb37jA8YsCrTSy77KBYCwG+/zln2pDLZLXSMBNKjOEIO1zPqQ3Og3uuSTBc= Received: by 10.64.148.8 with SMTP id v8mr7100035qbd.1169927308481; Sat, 27 Jan 2007 11:48:28 -0800 (PST) Received: by 10.65.185.15 with HTTP; Sat, 27 Jan 2007 11:48:28 -0800 (PST) Message-ID: Date: Sat, 27 Jan 2007 20:48:28 +0100 To: "Andi Gutmans" Cc: "Sara Golemon" , internals@lists.php.net, "Andrei Zmievski" , "Dmitry Stogov" In-Reply-To: <005c01c74236$b80a79f0$6500a8c0@zend.2k> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45B65BAD.8070703@php.net> <005c01c74236$b80a79f0$6500a8c0@zend.2k> Subject: Re: [PHP-DEV] Autoglobal CVs without silence -- Summary From: pierre.php@gmail.com (Pierre) Hi Andi, On 1/27/07, Andi Gutmans wrote: > Hi Sara, > I don't feel to great with this patch. It kind of feels like twisting the language implementation around for some very specific > problem which probably shouldn't be fixed at this level. Andrei says performance of Unicode isn't great so it shouldn't matter too > much, but I think a) it's not only about performance but also about maintainability. The code in PHP 6 is already much more complex > than that of PHP 5 and has become much harder to maintain. Such additional changes will make it worse b) There will still be plenty > of people who use PHP 6 in PHP 5 mode. > > I still haven't quite understood why not just do the detection on the whole auto-global when it's being fetched (or even during > request startup). As Andrei said, it's slow anyway so for people who need Unicode that should be an affordable hit. Please read (once or again) my initial proposal, it is the base of Sara's proposals. Request startup is _not_ a solution because the users must have the ability to define the input encoding before the fist fetch. That's why we decide to move the JIT trigger at runtime instead of compile time. --Pierre