Hi!

> That's true, but we do got the ability to import only one class from
> given namespace and classes aliasing so we can, for example, do
> something like:

When you import one name, you see this name in import statement. It's
explicit. Global imports are not.

I really hate to rehash discussion from years ago all from the start.
Please believe we did think about it - including having special options,
functions, configurations, INI entries, etc. for defining imports. It's
not worth it to save couple of keystrokes on namespace prefix, really.
Not everything should live in global space, that's the whole point of
namespaces.

-- 
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

Reply via email to