I thought I made that patch a while ago?
zend.c:
if (retval) {
if (Z_TYPE_P(retval) == IS_BOOL && Z_LVAL_P(retval)
== 0) {
zend_error_cb(type, error_filename,
error_lineno, format, args);
}
zval_ptr_dtor(&retval);
}
-Andrei
On Aug 22, 2005, at 2:53 AM, Derick Rethans wrote:
Okay, shall I give it a go as implementation? It seems most are for
another type of error that are fatal if not "handled" in the user error
handler. There is just one thing... how do we signal it back from the
handler? Currently there is no defined return value for the user
defined
error handler. I suggest that if you return "false" from the user
defined error handler than that signals that PHP should handle the
error
(and this stop the application in case the new error type was thrown).
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php