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

Same as [url][/url] 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 [url][/url]
Try a CVS snapshot (php4): [url][/url]
Try a CVS snapshot (php5): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]
Floating point limitations: [url][/url]