Re: Shackle - disable error_reporting changes
| From: | Derick Rethans | Date: | Wed, 02 Dec 2009 18:41:47 +0000 |
| Subject: | Re: Shackle - disable error_reporting changes | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6873@lists.php.net to get a copy of this message | ||
On Wed, 2 Dec 2009, Sean Coates wrote:
> I wrote an extension that overrides error_reporting() and
> ini_set('error_reporting', ...). Attempted changes to the reporting
> level are logged, but are otherwise silent, to be as transparent as
> possible to the code (which is why I couldn't, for example, change
> error_reporting to PHP_INI_SYSTEM).
>
> Here's the code: http://caedmon.net/shackle-0.1.1.tgz
>
> If there are no objections, I'll push it into SVN and make a PECL
> package. If there are objections, please speak up. Gwynne has
> graciously indicated the main problems in my original code, so
> hopefully there are no remaining glaring errors.
Sounds good; I might steal it for Xdebug :-]
regards,
Derick
--
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
twitter: @derickr