|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-10 23:49 UTC] derick@php.net
[2005-07-11 00:06 UTC] michal at cihar dot com
[2005-07-11 00:09 UTC] michal at cihar dot com
[2005-07-11 11:03 UTC] tony2001@php.net
[2005-07-11 11:19 UTC] michal at cihar dot com
[2005-07-11 12:00 UTC] tony2001@php.net
[2005-07-14 11:21 UTC] vrana@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 17:00:01 2025 UTC |
Description: ------------ While including file which has a parse error, php stops further processing. As I understand documentation, this should happen only for required files. This is also way it worked in previous php versions. We use such code in phpMyAdmin for including config file, what allows us to display friendly message when there is some error, however in latest PHP version user gets just empty page. Reproduce code: --------------- file1.php: <?php error_reporting(0); include('./file2.php'); echo 'Test'; ?> file2.php: <?php if ( ?> Expected result: ---------------- Test Actual result: -------------- empty