Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33680 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67238 invoked by uid 1010); 4 Dec 2007 19:16:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67223 invoked from network); 4 Dec 2007 19:16:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2007 19:16:53 -0000 Authentication-Results: pb1.pair.com header.from=malterisio777@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=malterisio777@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.225 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: malterisio777@gmail.com X-Host-Fingerprint: 64.233.162.225 nz-out-0506.google.com Received: from [64.233.162.225] ([64.233.162.225:16025] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/03-47601-4A7A5574 for ; Tue, 04 Dec 2007 14:16:52 -0500 Received: by nz-out-0506.google.com with SMTP id x7so2311543nzc for ; Tue, 04 Dec 2007 11:16:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=cCeEjpfgFtGxV/l+631s4DBAuvJngbZwbgs5HMdZsVE=; b=O7r3I349FpCqt7lDl+7neRemqFzPw2+nEIKb0TormKVI0Sd3rcmXmb8zGHWjkGMQFkacZrKrs7c0X/ow4glS6hA0W0ugIsU6HuoFpb1ogna/Bn9VuSaoxO54nI0Czq2M+RbVf//MDp+9DMhlyGk8tiqG9DEk94cAs5FgnoXBR8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qovxLgGX5vAKWXbdFuz+GTemh4Bb8dtsIfR9F5ogQ9bsjyChuL/3O2hoI6r9lHe6ALKPyP2FwzN8IkxmDPW1xPz+dCeCpvW2vWyLavctxvmVXomEkBHMy1+8maLv24TCS1eVkO9tstUZ7kiRkwnxAA+sM/2l7SIXLRblwyz0fgQ= Received: by 10.142.133.15 with SMTP id g15mr467962wfd.1196795809021; Tue, 04 Dec 2007 11:16:49 -0800 (PST) Received: by 10.142.157.9 with HTTP; Tue, 4 Dec 2007 11:16:48 -0800 (PST) Message-ID: <52dbac0f0712041116h1101d2aub6aaebb3cd9689a2@mail.gmail.com> Date: Tue, 4 Dec 2007 16:16:48 -0300 To: "Gregory Beaver" Cc: "internals Mailing List" In-Reply-To: <4755A4F3.6020909@chiaraquartet.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15586_26160236.1196795809015" 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> <4755A4F3.6020909@chiaraquartet.net> Subject: Re: [PHP-DEV] ignored patches From: malterisio777@gmail.com ("Martin Alterisio") ------=_Part_15586_26160236.1196795809015 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/12/4, 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. Knowing that I'll have to strongly encourage the developers to dump that patch. The namespace declaration shouldn't do more than what it's expected to do. Why this: namespace yadayada; import yadayada; Should work different that: import yadayada; namespace yadayada; ? ------=_Part_15586_26160236.1196795809015--