On Wed, 26 Mar 2003, Rasmus Lerdorf wrote:
> Couldn't you make the same argument for:
> 
>   function A() {
>     function B() {
>     }
>   }
> 
> This has worked for years and both A() and B() become global functions.

Yes, but that's a remnant of the old syntax. We shouldn't introduce new
cruft if we don't have to.

-Andrei                                       http://www.gravitonic.com/

"The secret of flying is to throw yourself
at the ground, and miss." -- Douglas Adams

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to