Re: Where is the '@' part handled in PHP?
| From: | Aaron Lewis | Date: | Tue, 06 May 2014 23:27:04 +0000 |
| Subject: | Re: Where is the '@' part handled in PHP? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73985@lists.php.net to get a copy of this message | ||
Hi Dmitry,
No, I'm not changing anything, just trying to understand the code
Don't worry about that ;-)
On Wed, May 7, 2014 at 5:11 AM, Dmitry Koterov <dmitry.koterov@gmail.com> wrote:
>
>> > I'm trying to find out how the '@func' part overrides the
>> > 'EG(error_reporting)' settings
>> >
>> > Anyone know where I should be looking at?
>> >
>> I think you should check out ZEND_BEGIN_SILENCE and ZEND_END_SILENCE
>
>
> BTW what was an initial reason for @ operator to silence non-recoverable
> errors as well? Why not silence only E_WARNING+ ? I don't propose to change
> this, just wondering.
--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33