Dmitry, >>> Note that multiple files in namespace won't allow autoloading. >> Can you please explain why that is so? > > Now autoloading maps class name into file name, however if you have several > classes in one file, only one of them may be autoloaded(). The same with > namespaces.
Did you confuse "multiple files in namespace" and "multiple namespaces in a file" in your original post? If yes, I'm with you, otherwise: Wasn't the original idea of your namespace implementation to simplify those long PEARified class names, kind of, by substituting a namespace for that name prefix? So I can write an autoloader that maps a namespace+class name to a file name. 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