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 PROTECT
[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 run