On Mon, Aug 15, 2011 at 10:26 AM, Stas Malyshev <smalys...@sugarcrm.com> wrote:
> 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 pointless
> 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


-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to