On 28 Jul 2014, at 03:58, Yasuo Ohgaki <yohg...@ohgaki.net> wrote: > If it is changed to use its own namespace, user space APIs may be changed > flexible and user controlled manner. Thus, PHP may have > > - Consistent naming > - Consistent parameter order > - Graceful function/class/interface deprecation > (We know what we should do for these, right?) > > without much compatibility issues.
I really don’t like this idea. This has been suggested already for the primitive type (string and array) functions. However, I must concur with Nikita when I say that I’d much rather write $foo->split() than string\split($foo). See: http://nikic.github.io/2014/03/14/Methods-on-primitive-types-in-PHP.html Introducing a load of aliases in namespaces might lead to consistency, sure, but now there’s more characters you need to type, and aside from consistency there’s not that much benefit. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php