|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-08-14 19:11 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 21:00:01 2025 UTC |
Description: ------------ WinXP, IIS, ISAPI, PHP 4.4.8 (I have to use the 4.x branch because my code needs to run on a shared hosting server that I have no control over, and they only have the 4.x branch.) 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: --------------- --a.php-- <?php ini_set('display_errors', 1); error_reporting(E_ALL & E_NOTICE); include("b.inc.php"); ?> --------- --b.inc.php-- <?php ini_set('display_errors', 1); error_reporting(E_ALL & E_NOTICE); $testvar = ; ?> ------------- Expected result: ---------------- Parse error: syntax error, unexpected ';' in [path here]\b.inc.php on line 4 Actual result: -------------- The output is absolutely, completely blank.