[Fwd: PHP Release Management Wiki PHPTODO:PhP60]

From: Date: Mon, 22 May 2006 14:19:38 +0000
Subject: [Fwd: PHP Release Management Wiki PHPTODO:PhP60]
Groups: php.internals 
Request: Send a blank email to internals+get-23615@lists.php.net to get a copy of this message
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

« previous php.internals (#23615) next »