# [Fwd: PHP Release Management Wiki PHPTODO:PhP60]

- Thread: https://externals.io/message/23615
- Original archive: https://news-web.php.net/php.internals/23615
- Started by Lukas Kahwe Smith on 2006-05-22T14:19:38+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #23615 — Lukas Kahwe Smith — 2006-05-22T14:19:38+00:00

URL: https://externals.io/message/23615#23615

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
