nested functions

From: Date: Fri, 02 Feb 2001 09:34:09 +0000
Subject: nested functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-45595@lists.php.net to get a copy of this message
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 enabled where the inner function is 'local' to the namespace of the outer one) or should the engine prevent nested function declarations in the first place? -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77 Besuchen Sie uns auf der CeBIT 2001 - in Halle 6 Stand F62/4

« previous php.dev (#45595) next »