Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39610 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95149 invoked from network); 4 Aug 2008 09:01:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2008 09:01:10 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:49988] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 39/89-46562-555C6984 for ; Mon, 04 Aug 2008 05:01:10 -0400 Received: from MBOERGER-ZRH.corp.google.com (176-81.106-92.cust.bluewin.ch [92.106.81.176]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 9E2D511EF94; Mon, 4 Aug 2008 11:01:06 +0200 (CEST) Date: Mon, 4 Aug 2008 10:58:16 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <147844133.20080804105816@marcus-boerger.de> To: Lukas Kahwe Smith CC: Stefan Priebsch , Hannes Magnusson , Dmitry Stogov , In-Reply-To: <71D8CF46-882A-4120-A4D7-B62646703120@pooteeweet.org> 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> <71D8CF46-882A-4120-A4D7-B62646703120@pooteeweet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: helly@php.net (Marcus Boerger) Hello Lukas, Monday, August 4, 2008, 10:49:43 AM, you wrote: > 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. In that case lets have curly braces at least to be consistent with the rest of the language as every other grouping statement has curly braces. Best regards, Marcus