Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39613 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5927 invoked from network); 4 Aug 2008 09:42:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2008 09:42:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@hristov.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@hristov.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hristov.com from 85.92.73.163 cause and error) X-PHP-List-Original-Sender: php@hristov.com X-Host-Fingerprint: 85.92.73.163 iko.gotobg.net Linux 2.5 (sometimes 2.4) (4) Received: from [85.92.73.163] ([85.92.73.163:41519] helo=iko.gotobg.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/8B-46562-F0FC6984 for ; Mon, 04 Aug 2008 05:42:41 -0400 Received: from androto.ddns.playtime.bg ([87.120.220.52] helo=[192.168.1.127]) by iko.gotobg.net with esmtpa (Exim 4.69) (envelope-from ) id 1KPwa5-0006mv-Aa; Mon, 04 Aug 2008 12:42:21 +0300 Message-ID: <4896CEF9.1090500@hristov.com> Date: Mon, 04 Aug 2008 12:42:17 +0300 User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Lukas Kahwe Smith CC: Marcus Boerger , Stefan Priebsch , Hannes Magnusson , Dmitry Stogov , internals@lists.php.net 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> In-Reply-To: <71D8CF46-882A-4120-A4D7-B62646703120@pooteeweet.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Inconsistencies in 5.3 From: php@hristov.com (Andrey Hristov) Hi, Lukas Kahwe Smith 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. isn't that easily solved by using a opcode cache? > and those frameworks are the main users of namespaces, because they pull > in libs from all sorts of libraries, add plugins etc. > Andrey