On Fri, Jun 1, 2012 at 9:57 AM, Gustavo Lopes <glo...@nebm.ist.utl.pt> wrote:
> We currently don't use namespaces in any of the core extensions.
Does anything prevent us from starting to do so?

> other symbols in ext/intl are in the global namespace; to put BreakIterator
> in a new namespace would be inconsistent -- and to put the whole extension
> would be a huge BC break.
It sure would be a bit inconcistent, but if you see it as "All new
Intl classes will go
into the Intl namespace" it makes perfect sense in my eyes. Also, at least in
theory, one could alias all intl classes to namespaced variants (though I'm not
sure that's really necessary.)

Nikita

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

Reply via email to