Hi,
replying to internals ..
this was originally a comment made on the following site:
http://oss.backendmedia.com/PhP60
> flconseil@yahoo.fr writes:
>
> What about improving the autoload mechanism ?
> Suggestions :
>
> - When autoload() is called, it is impossible to know if a class or
> an interface is required. In my resolution system, I must search both.
> - Should be able to autoload functions (at least) and constants. But
> global variables must be kept outside.
> - Most important: The autoload mechanism should provide a layered
> callback registration. As long as it is implemented a an unique
these sounds like interesting feature requests ...
> autoload() function, it is impossible to use it in a library package.
> Multiple autoload callbacks should be allowed to be registered at the
> same time.
this is already support by SPL:
http://php.net/~helly/php/ext/spl/group__SPL.html#gaf60ea8bbef114980007c6067850c150
regards,
Lukas