Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33679 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60865 invoked by uid 1010); 4 Dec 2007 19:05:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 60849 invoked from network); 4 Dec 2007 19:05:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2007 19:05:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 38.99.98.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 38.99.98.18 beast.bluga.net Linux 2.6 Received: from [38.99.98.18] ([38.99.98.18:36858] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/62-47601-2F4A5574 for ; Tue, 04 Dec 2007 14:05:23 -0500 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id B4EF7C0ED66; Tue, 4 Dec 2007 12:05:19 -0700 (MST) Received: from [192.168.0.106] (CPE-76-84-15-179.neb.res.rr.com [76.84.15.179]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 5A3EAC0ED65; Tue, 4 Dec 2007 12:05:19 -0700 (MST) Message-ID: <4755A4F3.6020909@chiaraquartet.net> Date: Tue, 04 Dec 2007 13:05:23 -0600 User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: Martin Alterisio CC: internals Mailing List References: <4731278C.8020301@chiaraquartet.net> <52dbac0f0712040809v64da917cic9aa803f9800f49b@mail.gmail.com> <475580D5.1010903@chiaraquartet.net> <52dbac0f0712040900o5dc80b26keca60ef841843fd1@mail.gmail.com> <47558C21.7040604@chiaraquartet.net> <52dbac0f0712041013p1fb023cag4f2ba8a2a067a099@mail.gmail.com> In-Reply-To: <52dbac0f0712041013p1fb023cag4f2ba8a2a067a099@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] ignored patches From: greg@chiaraquartet.net (Gregory Beaver) Martin Alterisio wrote: > It's also not possible to reliably bundle files even if you could have > multiple namespaces declarations as, correct me if I'm wrong, import > statements affect the whole file, there is no way to "unimport", a > name clash could still occur. OK, I'll correct you: you're wrong. The patch resets import at each namespace declaration. Each chunk (as far as namespace and import declarations) acts as its own file. global variables, constants, and everything else that would carry over from file to file if included continues to function normally. The point of the patch is that it functions the same way as separate or as 1 file. Greg