Re: Shackle - disable error_reporting changes
| From: | Sean Coates | Date: | Wed, 02 Dec 2009 19:18:59 +0000 |
| Subject: | Re: Shackle - disable error_reporting changes | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6878@lists.php.net to get a copy of this message | ||
>> Wouldn't php_admin_value error_reporting .... work?
>> Or does the error_reporting() function do some trickery to avoid it?
>
>
> The point is to prevent the code from changing it, silently.
At Hannes's prodding, it turns out that php_admin_value will prevent the user from changing the
value, AND be silent. I didn't know this, so unless I'm missing something, the extension
will just be chalked up to a learning experience (-:
S