Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32601 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74974 invoked by uid 1010); 3 Oct 2007 15:33:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74959 invoked from network); 3 Oct 2007 15:33:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Oct 2007 15:33:32 -0000 Authentication-Results: pb1.pair.com header.from=php@benjaminschulz.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php@benjaminschulz.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain benjaminschulz.com from 80.81.249.139 cause and error) X-PHP-List-Original-Sender: php@benjaminschulz.com X-Host-Fingerprint: 80.81.249.139 mx.systisoft.com Linux 2.5 (sometimes 2.4) (4) Received: from [80.81.249.139] ([80.81.249.139:51490] helo=mx.systisoft.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/3E-23468-A46B3074 for ; Wed, 03 Oct 2007 11:33:31 -0400 Received: (qmail 32035 invoked from network); 3 Oct 2007 15:33:20 -0000 Received: from unknown (HELO mail.ih.systisoft.com) (217.13.198.186) by mx.systisoft.com with SMTP; 3 Oct 2007 15:33:20 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.ih.systisoft.com (Postfix) with ESMTP id 10258346DA3; Wed, 3 Oct 2007 17:33:29 +0200 (CEST) Received: from mail.ih.systisoft.com ([127.0.0.1]) by localhost (heidi.b.ih.systisoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16299-06; Wed, 3 Oct 2007 17:33:24 +0200 (CEST) Received: from [10.0.3.10] (marvin.b.ih.systisoft.com [10.0.3.10]) by mail.ih.systisoft.com (Postfix) with ESMTP id EA50F346D7D; Wed, 3 Oct 2007 17:33:23 +0200 (CEST) In-Reply-To: <1269215676.20071003171745@marcus-boerger.de> References: <470295DA.6090602@php.net> <4702A457.5010005@zend.com> <83C14D8F-4F6A-49C6-BE2E-2B80A722A03C@benjaminschulz.com> <1269215676.20071003171745@marcus-boerger.de> Mime-Version: 1.0 (Apple Message framework v752.3) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Content-Transfer-Encoding: 7bit Date: Wed, 3 Oct 2007 17:33:21 +0200 To: Marcus Boerger , internals Mailing List X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: by amavisd-new at mail.ih.systisoft.com X-Spam-Status: No, hits=-2.638 tagged_above=-999 required=5 tests=ALL_TRUSTED, BAYES_00, MISSING_SUBJECT, NO_RECEIVED X-Spam-Level: Subject: Re: [PHP-DEV] Re: namespaces: import name conflicts with defined class From: php@benjaminschulz.com (Benjamin Schulz) > > if your exception is so general that it is called exception you can > obviously simply use exception. Maybe _my_ exception is a generic exception in _my_ framework and implements some helper functions i need? But the discussion is not about exceptions, it's about classnames that PHP declares i don't want to care about, because i put my classes in "namespaces". Maybe i don't use DOM and i don't know (i don't want to know) that there is a "XsltProcessor" class, i implemented a xsltprocessor myself, a generic one ;). So i need to name it GenericXsltProcessor because luckily currently there is no other class with that name (yet)? Come on ... Who knows what classes SPL or some pecl extension will declare some day, to me this is like a guarantee that future PHP releases, or extensions, will break applications that use namespaces. Sounds quite ironic to me. regards, Benjamin