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

From: Date: Sun, 29 Oct 2000 03:37:24 +0000
Subject: PHP 4.0 Bug #7010 Updated: error_reporting(0);
Groups: php.dev 
Request: Send a blank email to php-dev+get-36300@lists.php.net to get a copy of this message
ID: 7010 Updated by: sniper Reported By: joel.jacobson@mobigym.se Status: Closed Bug Type: *Function Specific Assigned To: Comments: No feedback. And please update to PHP4.0.3pl1 and reopen this bug report if problem still exists with it. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-10-05 17:45:28] stas@php.net Could not reporduce this in 4.0.3rc1. Which error is displayed? --------------------------------------------------------------------------- [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 (#36300) next »