#25866 [NEW]: Using error_reporting() function don't change output of phpinfo() function
| From: | sfournier at dmsolutions dot ca | Date: | Tue, 14 Oct 2003 16:26:40 +0000 |
| Subject: | #25866 [NEW]: Using error_reporting() function don't change output of phpinfo() function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-48984@lists.php.net to get a copy of this message | ||
From: sfournier at dmsolutions dot ca
Operating system: Linux
PHP version: 4.3.3
PHP Bug Type: PHP options/info functions
Bug description: Using error_reporting() function don't change output of phpinfo() function
Description:
------------
Same as http://bugs.php.net/bug.php?id=18498 but
with PHP 4.3.3
My php.ini contain this line:
.
.
error_reporting = E_ALL & ~E_NOTICE
.
.
With this simple script the error_reporting parameter is set to 2039, wich
is ok.
<? phpinfo(); ?>
Using the same php.ini, with this other script the error_reporting
parameter is *still* set to 2039. Shouldn't be set to 1 ?
<? error_reporting(E_ERROR); phpinfo(); ?>
--
Edit bug report at http://bugs.php.net/?id=25866&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25866&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25866&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25866&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25866&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25866&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25866&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25866&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25866&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25866&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25866&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25866&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25866&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25866&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25866&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25866&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25866&r=float