Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17513 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97158 invoked by uid 1010); 3 Aug 2005 17:09:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97143 invoked from network); 3 Aug 2005 17:09:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2005 17:09:03 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:58398] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 29/7A-04646-F2AF0F24 for ; Wed, 03 Aug 2005 13:09:03 -0400 Received: from localhost (strato.aixcept.de [81.169.182.136]) by strato.aixcept.de (Postfix) with ESMTP id 23D6535C37B; Wed, 3 Aug 2005 19:27:26 +0200 (CEST) Date: Wed, 3 Aug 2005 19:08:57 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <592372163.20050803190857@marcus-boerger.de> To: Michael Wallner Cc: internals@lists.php.net In-Reply-To: <53.B3.04646.4599FE24@pb1.pair.com> References: <42EF3C7D.9000105@supernerd.com> <7E.1F.04646.79E8FE24@pb1.pair.com> <53.B3.04646.4599FE24@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PATCH] Namespace Patch, Beta 1 From: helly@php.net (Marcus Boerger) Hello Michael, i suffest that pear finally takes a better approach with the arrival of namespaces then the ugly workaround of '_'. If pear doesn#t want to i suggest pear simply writes it's own __autoload(). marcus Tuesday, August 2, 2005, 6:01:18 PM, you wrote: > Hi Jessie Hernandez, you wrote: >> Forgot to mention, since I expect the majority of users to follow the PEAR >> convention for their classes (basically one class per file, file is named >> like class, with "namespace" directories) > With the minor but essential logical difference: > $file = strtr($class, '_', '/') > I don't know if you took that into account though... > Regards, > -- > Michael - < mike(@)php.net > Best regards, Marcus