Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17659 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78478 invoked by uid 1010); 9 Aug 2005 06:52:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78463 invoked from network); 9 Aug 2005 06:52:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2005 06:52:08 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:37575] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 09/B1-04646-79258F24 for ; Tue, 09 Aug 2005 02:52:08 -0400 Received: from [192.168.1.3] (dsl-082-083-244-228.arcor-ip.net [82.83.244.228]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id A3DE235C37B; Tue, 9 Aug 2005 09:11:07 +0200 (CEST) Date: Tue, 9 Aug 2005 08:52:08 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1872346974.20050809085208@marcus-boerger.de> To: Jessie Hernandez Cc: internals@lists.php.net In-Reply-To: References: <22.CE.04646.C7BD6F24@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [PATCH] Namespace Patch, Beta 2 From: helly@php.net (Marcus Boerger) Hello Jessie, Tuesday, August 9, 2005, 4:36:41 AM, you wrote: > Classes that had uppercase letters were not being handled properly in > namespace imports. The attached patch has this fix (thanks Maxx!). Also, > the attached patch includes the default behavior of resolving > simple-imported class names to their file paths (ns:class1 being looked up > as ns/class1(.inc or .inc.php). > I have a couple of questions, though: > 1) I asked this before, but it wasn't answered: is there any reason why .php > is not a default extension for spl_autoload? PEAR uses .inc.php and i as well as all i have spoken too like .inc better than .php becuase it distinguishes include files from normal script files. If now you like .php better it is pretty easy to overcome this matter by just changing the defaults. That's why it is so flexible. Best regards, Marcus