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

From: Date: Thu, 05 Oct 2000 21:45:28 +0000
Subject: PHP 4.0 Bug #7010 Updated: error_reporting(0);
Groups: php.dev 
Request: Send a blank email to php-dev+get-34294@lists.php.net to get a copy of this message
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 (#34294) next »