Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17517 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3512 invoked by uid 1010); 3 Aug 2005 21:22:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3497 invoked from network); 3 Aug 2005 21:22:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2005 21:22:52 -0000 X-Host-Fingerprint: 209.151.233.33 unknown Linux 2.4/2.6 Received: from ([209.151.233.33:46824] helo=mail.safesearching.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 6E/9A-04646-BA531F24 for ; Wed, 03 Aug 2005 17:22:52 -0400 Received: (qmail 16996 invoked from network); 3 Aug 2005 21:40:49 -0000 Received: from adsl-67-112-238-195.dsl.lsan03.pacbell.net (HELO ?192.168.1.136?) (james@safesearching.com@67.112.238.195) by mail.safesearching.com with RC4-MD5 encrypted SMTP; 3 Aug 2005 21:40:49 -0000 Message-ID: <42F136EB.7040300@safesearching.com> Date: Wed, 03 Aug 2005 14:28:11 -0700 User-Agent: Mozilla Thunderbird 1.0+ (Windows/20050531) MIME-Version: 1.0 To: Jessie Hernandez CC: internals@lists.php.net References: <42EF3C7D.9000105@supernerd.com> <7E.1F.04646.79E8FE24@pb1.pair.com> <13210444107.20050803190850@marcus-boerger.de> <53.D9.04646.4AB21F24@pb1.pair.com> In-Reply-To: <53.D9.04646.4AB21F24@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PATCH] Namespace Patch, Beta 1 From: james@safesearching.com (James Crumpton) Maybe I'm alone on this, but all my class files are named as Classname.class.php... (hint, hint) :) ... On second thought, maybe it would be interesting/useful to have some mechanism to allow a formatted string like "%s.foo.php" or "foo.%s.php" to be used by spl's autoload? Not really sure how it would be implemented... A php.ini setting ;), or from a constant or something. *shrug* dunno, just thinking out loud. Jessie Hernandez wrote: > Also, I just looked at the php_spl.c code, is there any reason why .php is > not in the list of default extensions? It'd be nice if the default > extensions were .php, .inc, and .inc.php.