Hi 2009/7/2 Ionut G. Stan <[email protected]>: > Is it possible that instead of an E_RECOVERABLE_ERROR, an Exception to > be thrown? I don't know whether InvalidArgumentException satisfies the > semantics, > but it's a step in that direction.
I don't think we should start changing the standard way of the engine to error out, having a custom error that checks for E_RECOVERABLE_ERROR can be made to throw an InvalidArgumentException within few lines of code/parsing. -- regrads, Kalle Sommer Nielsen [email protected] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
