Stanislav Malyshev wrote: >> 1) ability to customize the fatal error message >> 2) knowing whether the class is required or optional > > I don't think we should start customizing error messages. The engine > has a lot of error messages and they are not customized. I see no > reason why autoloader can't produce message of its own if it wants to > - why the engine should care about it in this particular case. > As for being required - I don't see why autoloader needs to know that. > If the engine asked for the class, then it needs it, no? If you didn't > need the class, why try autoloading it?
Ever heard of an optional dependency? :) Greg -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php