Re: [patch] re-invoking default error handler

From: Date: Thu, 27 May 2004 23:31:26 +0000
Subject: Re: [patch] re-invoking default error handler
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-10126@lists.php.net to get a copy of this message
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

« previous php.internals (#10126) next »