Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17512 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96883 invoked by uid 1010); 3 Aug 2005 17:08:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96868 invoked from network); 3 Aug 2005 17:08:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2005 17:08:54 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:58394] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 9C/6A-04646-62AF0F24 for ; Wed, 03 Aug 2005 13:08:54 -0400 Received: from localhost (strato.aixcept.de [81.169.182.136]) by strato.aixcept.de (Postfix) with ESMTP id 638CC35C37B; Wed, 3 Aug 2005 19:27:19 +0200 (CEST) Date: Wed, 3 Aug 2005 19:08:50 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <13210444107.20050803190850@marcus-boerger.de> To: Jessie Hernandez Cc: internals@lists.php.net In-Reply-To: <7E.1F.04646.79E8FE24@pb1.pair.com> References: <42EF3C7D.9000105@supernerd.com> <7E.1F.04646.79E8FE24@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 Jessie, what ever you want auto-of-the-box is good. I suggest the simplest possible way as default which is we simply stay like we are doing now and only include a replacement from ':' to the current directory separator. That we would be searching for '.inc' and '.inc.php' per default in the include_path directories. marcus Tuesday, August 2, 2005, 5:17:45 PM, 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), then maybe a default > implementation can be provided in SPL's autoload. That way, namespace > imports can be used "out of the box". > Marcus, what do you think? > Regards, > Jessie Hernandez Best regards, Marcus