On Thu, 27 May 2004, Sara Golemon wrote: > > > This just means replacing the first line of that patch with: > > > if (Z_TYPE_P(retval) != IS_NULL && !zend_is_true(retval)) { > > > > This would be fine with me. What do we all thing about feasibility of > > this patch going into PHP 5? > > > +0 > > No great harm in doing it, but for myself if I'm going to override the error > handler, I'm going to override the entire error handler.
The need that came up here was that people only wanted to use their error handler for their own trigger_error()'ed errors. For normal PHP errors they still wanted to use the default handler. This request does make some sense, and hence Andrei's patch. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php