Re: PHP 4.0 Bug #7010 Updated: error_reporting(0);

From: Date: Thu, 05 Oct 2000 10:05:40 +0000
Subject: Re: PHP 4.0 Bug #7010 Updated: error_reporting(0);
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-34303@lists.php.net to get a copy of this message
I tried this on a friends webserver that also uses PHP 4.0.2. No warning message was displayed. I use the same version, so this is very strange. Bug Database wrote: > ID: 7010 > Updated by: stas > Reported By: joel.jacobson@mobigym.se > Status: Feedback > Bug Type: *Function Specific > Assigned To: > Comments: > > Could not reporduce this in 4.0.3rc1. Which error is displayed? > > Previous Comments: > --------------------------------------------------------------------------- > > [2000-10-04 06:02:38] joel.jacobson@mobigym.se > Why does the following example produce an error message that is displayed in the web browser? > <?php > error_reporting(0); > $test = 1/0; > ?> > > But no error message is shown when I try $test = NO_SUCH_CONSTANT; > > The division by zero error is not displayed if I set display_errors to "Off" in > php.ini. But I think that should be the same as error_reporting(0);, why isn't it? > > Thanks in advance. > > /Joel Jacobson > > --------------------------------------------------------------------------- > > Full Bug description available at: http://bugs.php.net/?id=7010

« previous php.dev (#34303) next »