#31719 [Opn->Bgs]: Include stops Scriptexecution on error

From: Date: Thu, 27 Jan 2005 11:43:05 +0000
Subject: #31719 [Opn->Bgs]: Include stops Scriptexecution on error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72927@lists.php.net to get a copy of this message
ID: 31719 Updated by: derick@php.net Reported By: oc at teuto dot net -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Fedora Core 3 PHP Version: 5.0.3 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2005-01-27 12:01:46] oc at teuto dot net Description: ------------ When you include a file which contains errors, the main PHP-script dies. Reproduce code: --------------- test.php: <?php echo "before\n"; @include "error.php"; echo "after\n"; ?> error.php: <?php echo "include\n" echo "line2\n" ?> Expected result: ---------------- before after Actual result: -------------- before ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31719&edit=1

« previous php.bugs (#72927) next »