Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54623 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16105 invoked from network); 15 Aug 2011 09:15:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2011 09:15:35 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 74.125.83.42 mail-gw0-f42.google.com Received: from [74.125.83.42] ([74.125.83.42:34114] helo=mail-gw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/23-31518-DA3E84E4 for ; Mon, 15 Aug 2011 05:15:29 -0400 Received: by gwb17 with SMTP id 17so3443734gwb.29 for ; Mon, 15 Aug 2011 02:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1WWXY1IfToAlwjcbAu4s3A8KtJ3pMyBk089vnWM7C04=; b=wEYsU24hWBaeg6j16wJPAiQKs5WEwHN/7VOLwE3m9Be2v6wHB4Lu+3JM1P9p0Fyeev mG0E4uc0NUvWh8M+GXyKmliqNAh6D8mSyG9RLEDI4WzgTfqXKbEqcPSC+n897EWI69Jw st5m7uQxNVoKmszNi/xPpeGa6AdTJAOqP681Q= MIME-Version: 1.0 Received: by 10.236.190.198 with SMTP id e46mr11444949yhn.202.1313399720162; Mon, 15 Aug 2011 02:15:20 -0700 (PDT) Received: by 10.146.168.9 with HTTP; Mon, 15 Aug 2011 02:15:20 -0700 (PDT) In-Reply-To: <4E48D848.1070407@sugarcrm.com> 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> <4E48D848.1070407@sugarcrm.com> Date: Mon, 15 Aug 2011 11:15:20 +0200 Message-ID: To: Stas Malyshev Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Function autoloading through spl_autoload* From: tyra3l@gmail.com (Ferenc Kovacs) On Mon, Aug 15, 2011 at 10:26 AM, Stas Malyshev wr= ote: > 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. it depends on what do you mean by designed, it was brought up after the namespace support was implemented, and the namespace separator debate closed AFAIK. > 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 pointles= s > because it won't happen. if somebody don't have the links, here they are: http://www.mail-archive.com/internals@lists.php.net/msg39829.html http://www.mail-archive.com/internals@lists.php.net/msg39577.html https://wiki.php.net/rfc/namespaceresolution --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu