[PHP-DEV] PHP 4.0 Bug #9884 Updated: Using a return in an included file causes a major abnormality.

2001-03-29 Thread stas
ID: 9884 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Using return stops _running_ the script. However, in PHP 4, scrips are _compiled_ in full before running. That means, all functions, which are

Re: [PHP-DEV] PHP 4.0 Bug #9884 Updated: Using a return in an included file causes a major abnormality.

2001-03-29 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] wrote: ID: 9884 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Using return stops _running_ the script. However, in PHP 4, scrips are _compiled_ in full before running. That

[PHP-DEV] PHP 4.0 Bug #9884 Updated: Using a return in an included file causes a major abnormality.

2001-03-29 Thread stas
ID: 9884 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: Scripting Engine problem Assigned To: Comments: reopened - double function definition still there. Previous Comments: ---

Re: [PHP-DEV] PHP 4.0 Bug #9884 Updated: Using a return in an included file causes a major abnormality.

2001-03-29 Thread Stanislav Malyshev
HH this does not explain why it is possible to declare two functions HH by the same name without getting an error HH HH which of the two hello()'s is going to be called by the main script? Sorry, missed that one. Weird indeed. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED]

[PHP-DEV] PHP 4.0 Bug #9884 Updated: Using a return in an included file causes a major abnormality.

2001-03-20 Thread ceo
ID: 9884 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Description: Using a return in an included file causes a major abnormality. in my stupidity, i spelt weird.inc wrong... but you guys are smart, so i'll assume you can correct it.. =) (sorry) Previous