RE: [PHP-DEV] RE: PHP 4.0 Bug #9064 Updated: Functions inside functions cause errors if the outer function is called twice.

2001-02-02 Thread Lars Torben Wilson
HP 4.0 Bug #9064 Updated: Functions inside > > functions cause errors if the outer function is called twice. > > > > > > > > What does that buy you that this doesn't? > > > > function test2() { > >echo "hi"; > > } > > > &

RE: [PHP-DEV] RE: PHP 4.0 Bug #9064 Updated: Functions inside functions cause errors if the outer function is called twice.

2001-02-02 Thread Sam Liddicott
> -Original Message- > From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 02, 2001 09:49 > To: Christopher Kings-Lynne > Cc: Bug Database > Subject: Re: [PHP-DEV] RE: PHP 4.0 Bug #9064 Updated: Functions inside > functions cause errors if

Re: [PHP-DEV] RE: PHP 4.0 Bug #9064 Updated: Functions inside functions cause errors if the outer function is called twice.

2001-02-02 Thread Lars Torben Wilson
What does that buy you that this doesn't? function test2() { echo "hi"; } function test() { test2(); } ...other than a new scoping rule? Christopher Kings-Lynne writes: > Shouldn't you at least be able to register the "nested function" as 'static? > > This causes syntax errors in 4.0.

[PHP-DEV] RE: PHP 4.0 Bug #9064 Updated: Functions inside functions cause errors if the outer function is called twice.

2001-02-02 Thread Christopher Kings-Lynne
Shouldn't you at least be able to register the "nested function" as 'static? This causes syntax errors in 4.0.4pl1. ie: > -Original Message- > From: Bug Database [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 02, 2001 5:14 PM > To: [EMAIL PROTECTED] > Subject: PHP 4.0 Bug #9064 U