From:             scott at slerman dot net
Operating system: Fedora Core 2
PHP version:      5.0.1
PHP Bug Type:     *Configuration Issues
Bug description:  display_errors setting ignored

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 bug report at http://bugs.php.net/?id=29926&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29926&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29926&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29926&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29926&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29926&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29926&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29926&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29926&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29926&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29926&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29926&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29926&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29926&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29926&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29926&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29926&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29926&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29926&r=float

Reply via email to