Hi, 2012/8/30 Pierre Joye <pierre....@gmail.com>: > hi! > > On Wed, Aug 29, 2012 at 11:19 PM, Derick Rethans <der...@php.net> wrote: > >> "ext/spl" - SPL is not *core* language. The generators are. Don't throw >> exceptions from core features! > > I would not have a problem with exceptions here. It is much cleaner > than yet another warning.
But we have errorException for errors since PHP 5.1. http://jp.php.net/errorException Are there any technical reasons not to have exception? If there are, we should use error. If not, more arguments. BTW, I would like to change errorException behavior. It removes output buffer and make it less useful for error handling. I'll post new thread for it when I have time. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php