Hi,
I'm trying to find out how the '@func' part overrides the
'EG(error_reporting)' settings
Anyone know where I should be looking at?
Thanks!
--
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
On Mon, May 5, 2014 at 12:24 PM, Aaron Lewis the.warl0ck.1989@gmail.comwrote:
Hi,
I'm trying to find out how the '@func' part overrides the
'EG(error_reporting)' settingsAnyone know where I should be looking at?
Thanks!
I think you should check out ZEND_BEGIN_SILENCE and ZEND_END_SILENCE
http://lxr.php.net/xref/PHP_5_6/Zend/zend_vm_def.h#4824
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
I'm trying to find out how the '@func' part overrides the
'EG(error_reporting)' settingsAnyone 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.
Hi Dmitry,
No, I'm not changing anything, just trying to understand the code
Don't worry about that ;-)
I'm trying to find out how the '@func' part overrides the
'EG(error_reporting)' settingsAnyone 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
No-no, my question was addressed to the community. Why @ silences E_ERROR+,
not E_WARNING+, what was the holy reason for that (historically).
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.comjavascript:;>
wrote:I'm trying to find out how the '@func' part overrides the
'EG(error_reporting)' settingsAnyone 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