2011/7/11 Ferenc Kovacs <tyr...@gmail.com>: > On Mon, Jul 11, 2011 at 5:08 PM, Matthew Weier O'Phinney
[snip] >> I think that's a bad idea. The point of namespaces is to allow us to >> override classes (and functions, and constants) within that namespace. >> If I can't do this: >> >> namespace Foo >> { >> class String >> { >> } >> } >> >> then I'd consider the implementation too restrictive. This is exactly my concern. > the parser is a little bit dumb, and the namespaces isn't really first > class citizens in php AFAIK, so it's not a deliberate restriction imo, > just a technical, which could be solved. The parser being dumb wouldn't be a reason to make code which works fine on 5.3, break on 5.4 and then again working on 5.5 because of words being keyworded for the sake of "a future implementation" which doesn't explain whether it would break that kind of namespaced classes. Regards, Patrick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php