Sebastian Bergmann schrieb:
>  Why not "expand" namespaces during these step? The resulting file would
>  then have either only one namespace or no namespace at all.

A good idea, but (much) more work of course, since it requires parsing
and rewriting every file. And I am not sure, if this really works out
when it comes to dynamically creating class and function names.

Is there a chance to add a PHP function that returns a "fully qualified"
name for a given name (thus letting the engine do the expansion, which
would ensure that correct rules are used)?

Kind regards,

Stefan


-- 
 >e-novative> - We make IT work for you.

 e-novative GmbH - HR: Amtsgericht München HRB 139407
 Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch

 http://www.e-novative.de

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to