|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-09-01 08:00 UTC] philip@php.net
[2004-09-01 14:32 UTC] scott at slerman dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
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.