Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31273 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8077 invoked by uid 1010); 25 Jul 2007 19:14:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8062 invoked from network); 25 Jul 2007 19:14:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2007 19:14:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:24600] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/4E-02163-BF0A7A64 for ; Wed, 25 Jul 2007 15:14:03 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 25 Jul 2007 12:14:00 -0700 Message-ID: <46A7A0F1.1060500@zend.com> Date: Wed, 25 Jul 2007 12:13:53 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Sebastian Mendel CC: internals@lists.php.net 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> In-Reply-To: <81.22.15748.CCB67A64@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jul 2007 19:14:00.0884 (UTC) FILETIME=[F5272F40:01C7CEEF] Subject: Re: [PHP-DEV] Question about Namespace patch From: stas@zend.com (Stanislav Malyshev) > so i can not use a lib that switched to namespaces in my old code that > does not support namespace? You definitely can. You'd have to use names like A::B::C instead of A_B_C but if the library "switched" then you probably expect some change, right? > i have to rewrite my whole code to use the new version of a lib that has > switched to namespace? You'd have to do search-and-replace for _ to ::, yes. > 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? Because it makes using library easier. If it isn't good for you, don't switch :) The rest of PHP isn't going to disappear, you still can use it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com