[PHP-DEV] RE : RE : Namespaces and __autoload()

2007-09-13 Thread P
From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] Looks like design flaw to me - why not index symbols by name, you can't have interface and class with the same name? Right. I was wrong and I have suppressed the 'interface' type in the PHK autoloader. If we ever extend autoloader to

[PHP-DEV] Re: RE : Namespaces and __autoload()

2007-09-12 Thread Stanislav Malyshev
Yes. PHK's autoload handler is not filename-based. It works as a (poor man's :) runtime linker, with a symbol map. In this map, interfaces and classes have different symbol types. Today, when this handler receives a request, it cannot know if it should look for an interface or a class. So, it has