Bug #12587: strange error_reporting(0)-behaviour
| From: | quappe at erster dot de | Date: | Mon, 06 Aug 2001 10:35:27 +0000 |
| Subject: | Bug #12587: strange error_reporting(0)-behaviour | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-62223@lists.php.net to get a copy of this message | ||
From: quappe@erster.de
Operating system: Linux (S.u.S.E 6.1)
PHP version: 4.0.6
PHP Bug Type: PHP options/info functions
Bug description: strange error_reporting(0)-behaviour
hey buglist,
no script necessary...;-)
last friday i installed php4.0.6 (coming from php3.0.17) and found out that
it isn't possible any longer
to suppress a "forgotten ';' parse error" by setting up error_reporting(0)
in my scripts...*sigh*
but if i code a "error_reporting = 0" into the php.ini, those error
(forgotten ';') is suppressed
and cannot be shown again by setting "error_reporting(E_ALL)" in my
script...;-(
is that the intented aim?!
i known about the many, many error-levels and there possibilities, but it
would be nice to have
the chance to suppress or not those trivial errors in my scripts as well,
if desired.
bye,
daniel
--
Edit bug report at: http://bugs.php.net/?id=12587&edit=1