Re: Question about Namespace patch

From: Date: Wed, 25 Jul 2007 15:27:05 +0000
Subject: Re: Question about Namespace patch
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-31264@lists.php.net to get a copy of this message
Stanislav Malyshev schrieb:
But why not allow importing namespaced functions and constants into the global namespace?
Because there's really no need to. Nothing wrong with namespace::function().
so i can not use a lib that switched to namespaces in my old code that does not support namespace? with other words: i have to rewrite my whole code to use the new version of a lib that has switched to namespace? thats makes transition really easy ... so why should any lib switch to namespace if this implies all apps using this libarary needs to rewrite their code? -- Sebastian

« previous php.internals (#31264) next »