Re: BreakIterator

From: Date: Fri, 01 Jun 2012 13:56:59 +0000
Subject: Re: BreakIterator
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-60712@lists.php.net to get a copy of this message
On Fri, Jun 1, 2012 at 9:57 AM, Gustavo Lopes <glopes@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

« previous php.internals (#60712) next »