Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9257 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20567 invoked by uid 1010); 16 Apr 2004 15:02:19 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20539 invoked from network); 16 Apr 2004 15:02:19 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 16 Apr 2004 15:02:19 -0000 Received: from localhost (localhost [127.0.0.1]) by jdi.jdimedia.nl (8.12.10/8.12.10) with ESMTP id i3GF2Hst021155; Fri, 16 Apr 2004 17:02:18 +0200 Date: Fri, 16 Apr 2004 17:01:46 +0200 (CEST) X-X-Sender: derick@localhost To: Enrico Weigelt cc: php-dev In-Reply-To: <20040416144129.GB3608@nibiru.metux.de> Message-ID: References: <20040416144129.GB3608@nibiru.metux.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] execution on errors From: derick@php.net (Derick Rethans) 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