thanks for the heads up, I didn't remembered that thread :(
btw. didn't we had some parser improvement patch laying around for a while now?

On Sat, Oct 8, 2011 at 4:02 PM, Patrick ALLAERT <patrickalla...@php.net> wrote:
> 2011/10/8 Ferenc Kovacs <tyr...@gmail.com>:
>> Hi
>>
>> https://wiki.php.net/todo/php54/vote
>> I've just noticed that the php namespace and the primitive types
>> (string, bool, int) are still not reserved.
>> the primitive types didn't had the 66% of the votes, but the php
>> namespace did, so at least that should have been reserved in 5.4
>> already.
>> what is the status about that?
>
> As far as I remember the thread about that, we concluded that while it
> may be ok to make them reserved words in the global namespace, it is
> absolutely not reasonable to make them reserved in a way it would
> prevent creating namespaced classes like: \Company\Types\Int,
> \Company\Types\String.
> Namespaces being created, among other reasons, to avoid name
> collisions, it would be unacceptable to have that BC break for people
> having take care of namespacing that kind of classes.
> And since the parser is too dumb for now, we just can't make it (cfr
> your own mail in that thread).
>
> The votes made on that topic where mostly done by people who obviously
> haven't take care of the technical limitations nor having followed the
> BC problems it generates.
> That topic shouldn't have been voted at all.
>
> Ref: http://marc.info/?t=131031633300001
>
> Cheers,
> Patrick
>



-- 
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