there is a __NAMESPACE__ constant, which is nice. Is there also a way to get the "full name" of a function or class, so you can see where it came from? Does import work for functions as well as classes?
Inside namespace it's __NAMESPACE__.'::'.$short_name (yes, '::name' would be the same as just 'name'). Outside there's currently no way to do it automatically (i.e. resolve imports).
-- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php