Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39608 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92093 invoked from network); 4 Aug 2008 08:51:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2008 08:51:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:39767] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/E8-46562-223C6984 for ; Mon, 04 Aug 2008 04:51:47 -0400 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id A39BB1EBC014; Mon, 4 Aug 2008 08:52:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9imb5O4r7Ovt; Mon, 4 Aug 2008 10:52:41 +0200 (CEST) Received: from [192.168.80.139] (unknown [195.226.16.50]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 3ECB51EBC013; Mon, 4 Aug 2008 10:52:41 +0200 (CEST) To: Marcus Boerger In-Reply-To: <4110342533.20080804104113@marcus-boerger.de> X-Priority: 3 (Normal) References: <909776579.20080803142659@marcus-boerger.de> <4896A7C4.8090503@zend.com> <7f3ed2c30808040055r377369d0l86f7c39cea7d94b2@mail.gmail.com> <4896BDB3.7000003@e-novative.de> <99710BD7-2224-4AA2-B2DD-1B6A4A5C0DA8@pooteeweet.org> <4110342533.20080804104113@marcus-boerger.de> Message-ID: <71D8CF46-882A-4120-A4D7-B62646703120@pooteeweet.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Mon, 4 Aug 2008 10:49:43 +0200 Cc: Stefan Priebsch , Hannes Magnusson , Dmitry Stogov , X-Mailer: Apple Mail (2.928.1) Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: mls@pooteeweet.org (Lukas Kahwe Smith) On 04.08.2008, at 10:41, Marcus Boerger wrote: > Hello Lukas, > > Monday, August 4, 2008, 10:32:26 AM, you wrote: > > >> On 04.08.2008, at 10:28, Stefan Priebsch wrote: > >>> Hannes Magnusson schrieb: >>>> I don't think anyone but him likes multiple namespaces per file. >>>> I do >>>> remember a PhD thesis sized mail from him explaining why multiple >>>> namespaces per file was needed though (can hardly believe anyone >>>> read >>>> the whole thing..). >>> >>> In some deployment processes, multiple PHP files are merged together >>> into one file. Symfony, for example, does this, at least optionally. > > >> Right, this is common practice to reduce disk I/O without having to >> make development too hard. Also that way people can pick and choose >> what they want to include (like not all drivers of a DBAL). > > If an edgecase optimization is th eonly reason then I am against this > even more. its not an edge optimization .. like i said its "common practice" in many PHP frameworks. this way they can more easily develop the code, while not having to suffer the drawbacks from a lot of disk I/O from files that need to be loaded in every request anyways. and those frameworks are the main users of namespaces, because they pull in libs from all sorts of libraries, add plugins etc. regards, Lukas Kahwe Smith mls@pooteeweet.org