ID: 29926
Updated by: [EMAIL PROTECTED]
Reported By: scott at slerman dot net
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Fedora Core 2
PHP Version: 5.0.1
New Comment:
Which errors are shown (error level) has to do with error_reporting,
not display_errors.
Previous Comments:
------------------------------------------------------------------------
[2004-09-01 05:51:42] scott at slerman dot net
Description:
------------
The php.ini setting display_errors seems to be ignored; no errors are
displayed, even if display_errors is turned on.
Reproduce code:
---------------
<?php
echo ini_get("display_errors") . "<br/>";
echo $foo . "bar";
$foo[bar] = "phpinfo()";
?>
Expected result:
----------------
There should be warning messages about $foo being undefined and the
constant "bar" being undefined.
Actual result:
--------------
Output is:
1
bar
As far as I know, the first line being 1 means that display_errors is
on.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29926&edit=1