Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31286 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43771 invoked by uid 1010); 27 Jul 2007 03:44:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43756 invoked from network); 27 Jul 2007 03:44:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2007 03:44:26 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3476] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/02-29409-A1A69A64 for ; Thu, 26 Jul 2007 23:44:26 -0400 Received: (qmail 73083 invoked by uid 98); 27 Jul 2007 03:44:30 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3775. Clear:RC:1(127.0.0.1):. Processed in 0.072413 secs); 27 Jul 2007 03:44:30 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 27 Jul 2007 03:44:30 -0000 Received: from 24.12.13.192 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 26 Jul 2007 22:44:30 -0500 (CDT) Message-ID: <2742.24.12.13.192.1185507870.squirrel@www.l-i-e.com> In-Reply-To: <81.22.15748.CCB67A64@pb1.pair.com> References: <46A31D95.2080407@fischer.name> <46A4661A.6080202@zend.com> <200707231140.55535.pstradomski@gmail.com> <46A4BA4F.6090506@dealnews.com> <40CA6572-030F-43E2-8706-64D1167C527C@bitxtender.com> <46A4C090.50402@php.net> <3d1a63d10707230942y2b2504d1p5f995f01d28a622b@mail.gmail.com> <46A4DF33.1030403@zend.com> <20070723110303.0c033048@h4x0r.tss> <46A4EEBA.7040308@zend.com> <46A53A50.1020205@lerdorf.com> <46A5FA0B.7040708@teh.ath.cx> <46A6A4AF.2020701@zend.com> <81.22.15748.CCB67A64@pb1.pair.com> Date: Thu, 26 Jul 2007 22:44:30 -0500 (CDT) To: "Sebastian Mendel" Cc: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Question about Namespace patch From: ceo@l-i-e.com ("Richard Lynch") On Wed, July 25, 2007 10:27 am, Sebastian Mendel wrote: > Stanislav Malyshev schrieb: >>> But why not allow importing namespaced functions and constants into >>> the global namespace? >> >> Because there's really no need to. Nothing wrong with >> namespace::function(). > > so i can not use a lib that switched to namespaces in my old code that > does > not support namespace? > > with other words: > > i have to rewrite my whole code to use the new version of a lib that > has > switched to namespace? > > > thats makes transition really easy ... so why should any lib switch to > namespace if this implies all apps using this libarary needs to > rewrite > their code? Since a "code rewrite" consists of slapping "" or something similar at the top of each file, and even a moron like me could manage that in a very short time, I don't think this is much of an issue, personally. There will be many who won't use namespaces/packages/whatevers until all "live" versions of PHP support them. That's just the nature of the beast. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?