Hi, I didn't mark http://bugs.php.net/48541 as critical because it is not a critical bug, but it is critical that this thing be fixed in PHP 5.3.
I can do it if someone can answer this question: how do closures uniquely identify themselves? spl_autoload_register is mistakenly treating all closures as if they were a single copy of the static method "Closure::__invoke", and so only the first registered closure is ever called (plus it leaks the other closures at shutdown). If the system can be made to better identify the closure, then spl_autoload_register can use that (and also properly free the refcount on a dupe). Greg -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php