Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54618 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6767 invoked from network); 15 Aug 2011 08:26:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2011 08:26:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.203 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.203 smtp203.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.203] ([67.192.241.203:59594] helo=smtp203.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/71-31518-C48D84E4 for ; Mon, 15 Aug 2011 04:26:52 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp10.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id F3AC91B81D1; Mon, 15 Aug 2011 04:26:49 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp10.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 9A2B51B815E; Mon, 15 Aug 2011 04:26:49 -0400 (EDT) Message-ID: <4E48D848.1070407@sugarcrm.com> Date: Mon, 15 Aug 2011 01:26:48 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Ferenc Kovacs CC: "internals@lists.php.net" References: <4E481136.3090508@sugarcrm.com> <4E483284.4010100@googlemail.com> <4E4838E1.3000006@sugarcrm.com> <4E48430D.6070409@googlemail.com> <4E486A50.4010700@sugarcrm.com> <4E48A22E.1040900@googlemail.com> <4E48AD3E.6010801@sugarcrm.com> <4E48C126.50707@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Function autoloading through spl_autoload* From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! On 8/15/11 12:54 AM, Ferenc Kovacs wrote: > I know that the bad decisions in the past won't count in this > argument, but the current "namespace resolution falls back to the > global namespace" is the one to blame for this shortcoming. It's not a shortcoming, it was designed that way, and for very serious reasons. If you want to know the reasons, there were discussed extensively when namespaces were discussed. Please re-read that discussion. And all things you propose now were already discussed back then too. If you hope people would write \strlen instead of strlen, this discussion is pointless because it won't happen. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227