Re: execution on errors
| From: | Derick Rethans | Date: | Fri, 16 Apr 2004 15:01:46 +0000 |
| Subject: | Re: execution on errors | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9257@lists.php.net to get a copy of this message | ||
On Fri, 16 Apr 2004, Enrico Weigelt wrote:
> I've often got the problem that a larger application behaves unclear
> if some of the include()'d/require()'ed scripts has some syntax error.
> It seems that the all the code is executed until this require-statement
> where the parse fails. If its an include() then it seems execution
> proceeds nevertheless.
This is correct and expected behavior, and also noted in the manual at:
http://nl3.php.net/include/
Derick