#25866 [Opn->Bgs]: Using error_reporting() function don't change output of phpinfo() function

From: Date: Tue, 14 Oct 2003 16:28:34 +0000
Subject: #25866 [Opn->Bgs]: Using error_reporting() function don't change output of phpinfo() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-48986@lists.php.net to get a copy of this message
ID: 25866 Updated by: sniper@php.net Reported By: sfournier at dmsolutions dot ca -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Linux PHP Version: 4.3.3 New Comment: It's showing the INI setting, that's totally different than a runtime setting. Previous Comments: ------------------------------------------------------------------------ [2003-10-14 12:26:40] sfournier at dmsolutions dot ca 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 this bug report at http://bugs.php.net/?id=25866&edit=1

« previous php.bugs (#48986) next »