|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7010 error_reporting(0);
Submitted: 2000-10-04 06:02 UTC Modified: 2000-10-28 23:37 UTC
From: joel dot jacobson at mobigym dot se Assigned:
Status: Closed Package: *Function Specific
PHP Version: 4.0.2 OS: Linux 2.4.0-test7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: joel dot jacobson at mobigym dot se
New email:
PHP Version: OS:


 [2000-10-04 06:02 UTC] joel dot jacobson at mobigym dot se
Why does the following example produce an error message that is displayed in the web browser?
$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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-05 17:45 UTC]
Could not reporduce this in 4.0.3rc1. Which error is displayed?
 [2000-10-28 23:37 UTC]
No feedback. And please update to PHP4.0.3pl1 and reopen
this bug report if problem still exists with it.

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun May 26 09:01:25 2019 UTC