Hi! > How about adding ability to import the entire namespace?
This option was explicitly excluded because this defeats the whole idea of having namespaces - i.e. having names to live in different spaces - by explicitly bringing unknown set of names into global space. If you allow global import, then you do not know which any of the names comes from - it can come from any of the set of imported namespaces, or be just global - and you have absolutely no idea about it and no way to avoid conflicts. And all that to save you three keystrokes so you could write DbConnection and not Db\DbConnection? Definitely not a good idea. Current implementation makes it clear where things come from and avoids naming conflicts, while still allowing you to use short names instead of long and painful ones. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php