Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39641 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58693 invoked from network); 4 Aug 2008 20:41:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2008 20:41:09 -0000 Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 208.83.222.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 208.83.222.18 unknown Linux 2.6 Received: from [208.83.222.18] ([208.83.222.18:41744] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/36-22351-46967984 for ; Mon, 04 Aug 2008 16:41:09 -0400 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id 4BF52A0D9E6; Mon, 4 Aug 2008 13:41:06 -0700 (MST) Received: from [192.168.2.4] (ool-4576734c.dyn.optonline.net [69.118.115.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id D925F91E230; Mon, 4 Aug 2008 13:41:05 -0700 (MST) Message-ID: <48976955.2070102@chiaraquartet.net> Date: Mon, 04 Aug 2008 16:40:53 -0400 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Dmitry Stogov CC: Marcus Boerger , internals@lists.php.net References: <909776579.20080803142659@marcus-boerger.de> <4896A7C4.8090503@zend.com> In-Reply-To: <4896A7C4.8090503@zend.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: greg@chiaraquartet.net (Greg Beaver) Dmitry Stogov wrote: > I don't like multiple namespaces per file too. > As I remember they were introduced by Greg's request related to > ext/phar. May be he already changed his mind. > > 'package' or 'namespace' is not so important for me. To be correct, this has nothing to do with ext/phar, but everything to do with how PHP users do things now. There are several apps such as Doctrine that allow "compiling" their whole libraries into a single large file. This results in substantial performance improvement depending on app design both with and without opcode cache, verified independently by me and by Stas in Zend's labs. I personally probably won't be using multiple namespaces per file except in rare cases, but I see plenty of good reasons to allow it. Regards, Greg