Re: Variable Scope

From: Date: Sun, 31 Aug 2003 13:23:20 +0000
Subject: Re: Variable Scope
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-4317@lists.php.net to get a copy of this message
On Sunday, Aug 31, 2003, at 07:36 America/New_York, Jeremy Johnstone wrote:
It ain't gonna happen, so why continue to make an ass of yourself? When you get three of the top people in PHP's development telling you it will NEVER happen, then you should really pay attention! No amount of explaining, complaining, bitching, or whining will change that fact, so why waste everyones type with your posts?
I never bitched, wined, or truly complained. The first gerund is indeed correct.
I am not trying to be rude in the least bit, but you obviously aren't
Now whose being an ass! hypocrite!
taking the hint from them to drop it. People like yourself make it hard
I ENDED THE THREAD LONG AGO, ONLY TO BE PULLED BACK IN BY COMMENTS LIKE THIS.
to ever get responses from the top people, because they get burned out by people like you.
Then give them something provocative to discuss, as I did.
Jeremy On Sat, 2003-08-30 at 21:33, LingWitt@insightbb.com wrote:
I am saying that perhaps the for loop should treat that part as a declaratory statement and mask outer variables. On Saturday, Aug 30, 2003, at 15:28 America/New_York, Rasmus Lerdorf wrote:
Yes, but you are adding a declaration separate from the for loop there. So not the same at all given there is no declaration in PHP. On Sat, 30 Aug 2003 LingWitt@insightbb.com wrote:
Not so. I supplied this version earlier: int array[] = {1, 2, 3, 4, 5}; for (int i = 0; i < 5; i++) {
         int num = array[i];
         printf("%d", num);
         for (int i = 0; i < 5; i++)
                 printf("%d", i * num);
} On Saturday, Aug 30, 2003, at 15:19 America/New_York, Rasmus Lerdorf wrote:
It was based on the for construct from C and works exactly the same way.


« previous php.internals (#4317) next »