Marcus Boerger wrote:
> Hello Alexey,
> 
>   that is probably but i wouldn't like it. I think we are going to make it
> to complex, tooooo Java like. Keep it simple. The only bad thing is a bit of
> a slowdown - eventually - where not loading all classes always by include
> isn't slower anyway. That said what we need to solve is the problem of
> emitting usefull errors. So maybe the idea of knowing whether the class is
> required or optional is the key here. Because once we have that we can
> already do what we need. The one resplonsible handler simply emits the error
> and we're done. If it doesn't know whether the class is necessary or not we
> cannot do so.

Hi,

I agree, the two things on my wishlist for autoload are:

1) ability to customize the fatal error message
2) knowing whether the class is required or optional

Greg

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to