Hello
Is there a way in Zend that allows me to turn php warnings and notices
into exceptions ?
In my application an undefined array index or a foreach() statement that
tries to iterate a NULL variable is clearly an application error, not a
notice or warning.
Is there a way for the Zend Framework to do the equivalent of:
function exception_error_handler($errno, $errstr, $errfile, $errline ) {
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
}
set_error_handler("exception_error_handler");
Thank you,
Timothy Madden
--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com