|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-24 10:42 UTC] jani@php.net
[2009-02-24 18:18 UTC] amelek32 at gmail dot com
[2009-02-24 23:59 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 20:00:01 2025 UTC |
Description: ------------ (I'm using IIS, ISAPI) When there is a parse error in an included file, NO error is displayed even if display_errors and error_reporting are set correctly. Reproduce code: --------------- --main.php-- <?php ini_set('display_errors', 1); error_reporting(E_ALL & E_NOTICE); include("inc.php"); ?> ------------ --inc.php-- <?php ini_set('display_errors', 1); error_reporting(E_ALL & E_NOTICE); $testvar = ; ?> ----------- Expected result: ---------------- Parse error: parse error in [path here]\inc.php on line 4 Actual result: -------------- None, there is no output at all, and no error gets logged.