Bug #9884 Updated: Using a return in an included file causes a major abnormality.

From: Date: Fri, 14 Dec 2001 20:02:00 +0000
Subject: Bug #9884 Updated: Using a return in an included file causes a major abnormality.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73830@lists.php.net to get a copy of this message
ID: 9884 Updated by: yohgaki Reported By: ceo@phester.org Old Status: Open Status: Analyzed Bug Type: Scripting Engine problem Operating System: NT/Freebsd Old PHP Version: 4.0.4pl1 PHP Version: 4.1.0 New Comment: I guess status should be analyzed. Previous Comments: ------------------------------------------------------------------------ [2001-11-29 05:13:59] zeev@php.net The fix was reverted, so the bug is reopened. We'll have to try and find a better solution, if one exists. ------------------------------------------------------------------------ [2001-07-15 12:19:54] zeev@php.net Fixed in CVS ------------------------------------------------------------------------ [2001-03-29 07:00:18] stas@php.net reopened - double function definition still there. ------------------------------------------------------------------------ [2001-03-29 06:26:35] stas@php.net Using return stops _running_ the script. However, in PHP 4, scrips are _compiled_ in full before running. That means, all functions, which are defined on the compile stage, will be defined no matter what happened when the script was run. ------------------------------------------------------------------------ [2001-03-20 20:03:16] ceo@phester.org in my stupidity, i spelt weird.inc wrong... but you guys are smart, so i'll assume you can correct it.. =) (sorry) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=9884 Edit this bug report at http://bugs.php.net/?id=9884&edit=1

« previous php.dev (#73830) next »