I did not try to get it fixed i just fixed it (dot).
Right from the beginning i said __autoload() is just wrong and we need the described behavior. However all i got back is that i am just wrong and we don't need it. And that from everybody. But since SPL already gives all you mentioned there is no reason to do anything more.
I'll come back here once i have my Montreal slides online which documnets everthing or i may also find time to do documentation soon.
Well I think the point is that you were right that the current way __autoload() works is not good enough.
I don't think the right solution though is to leave the not-optimal solution in the engine, and create a solution outside the engine. I think we should find a way to tune the engine so that it works well. Zeev's suggestion keeps BC. If there are concerns as far as chaining order are concerned, I personally don't have a problem supplying an API function where functions can be added programmatically.
We'd then get the best of both worlds and make it very accessible by everyone.
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php