hi,
> Andrei Zmievski wrote:
> > > i'm not sure about it, is this a usefull feature (although it
> > > behaves very different to, say, PASCAL or gcc with nested
> > > functions enabled where the inner function is 'local' to the
> > > namespace of the outer one) or should the engine prevent
> > >
Ditto, poor design IMHO.
-Original Message-
From: Marten Gustafsson [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 7:40 AM
To: PHP DEV
Subject: RE: [PHP-DEV] nested functions
Is there a need for nested funcitons? I don?t think so.
-Marten.
Icq# 38863127
-Original
Andrei Zmievski wrote:
> > i'm not sure about it, is this a usefull feature (although it
> > behaves very different to, say, PASCAL or gcc with nested
> > functions enabled where the inner function is 'local' to the
> > namespace of the outer one) or should the engine prevent
> > nested function d
Is there a need for nested funcitons? I don?t think so.
-Marten.
Icq# 38863127
-Original Message-
From: Andrei Zmievski [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 3:22 PM
To: Hartmut Holzgraefe
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] nested functions
On Fri
On Fri, 02 Feb 2001, Hartmut Holzgraefe wrote:
>
> it is right now possible to declare functions within functions
> (see bug#9064)
>
> this will lead to redeclaration errors if you call the outer
> function more then once
>
> i'm not sure about it, is this a usefull feature (although it
> beha
it is right now possible to declare functions within functions
(see bug#9064)
this will lead to redeclaration errors if you call the outer
function more then once
i'm not sure about it, is this a usefull feature (although it
behaves very different to, say, PASCAL or gcc with nested
functions