[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 means,
> all functions, which are defined on the compile stage, will
> be defined no matter what happened when the script was run.
[...]

this does not explain why it is possible to declare two functions
by the same name without getting an error

which of the two hello()'s is going to be called by the main script?

-- 
Hartmut Holzgraefe  [EMAIL PROTECTED]  http://www.six.de  +49-711-99091-77 

Besuchen Sie uns auf der CeBIT 2001 - in Halle 6 Stand F62/4

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to