Re: On Namespaces...

From: Date: Mon, 16 Aug 2004 18:06:41 +0000
Subject: Re: On Namespaces...
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-12185@lists.php.net to get a copy of this message
Hello Justin, Monday, August 16, 2004, 4:08:46 PM, you wrote: > Zeev, > I too have been searching the archives for subjects on 'namespace' and found > allot of back and forth opinions on it but not a real summary about its > conclusion. Basically, I have allot of code at work still in php4 that that > uses it own class importing mechanism than just include|require[_once] > dubbed 'Namespace' with static method Namespace::import(). I'm just > wondering if 'namespace' and 'import' is reserved for future use before I > port all my code to php5. There's a good chance that later PHP versions (maybe 5.2 or 6 or whatever) have something like namespaces or packages which require at least the keyword 'import'. That's an example for the reason i never use names that are used as keywords in other languages. regards marcus

« previous php.internals (#12185) next »