Hi, if that bothers you so much, why don't you just write your own version of PHP and allow ppl to download it, then we'll see how many ppl downloads your version... You know, it's more like a feature than a bug...
-- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] On Saturday, Aug 30, 2003, at 14:31 America/New_York, Marcus Börger wrote: > Hello LingWitt, Hi. > > - PHP is typeless Thanks, but that's established. > - for doesn't span any declaration level and hence does not have its > own > symbol table This is ridiculous. > - PHP is not c, not C++ not Java, not...IT IS PHP Simplistic, unyielding, dogmatic tripe. > > Saturday, August 30, 2003, 8:24:49 PM, you wrote: > > Lic> That part of the for loop is inherently declaratory. As a result, > the > Lic> interpreter should add any variables in that portion to the new > symbol > Lic> table of that for loop. Any most other languages, that portion of > the > Lic> for loop creates variables specifically in the scope of the for > loop. > Lic> Other variables of the same name are masked. Its a matter of > function. > Lic> If you don't change it, so what. But completeness of logic is the > Lic> hallmark of computing. That's what separates the true > masterpieces from > Lic> the crap, the Apples from the Microsofts. > > Lic> On Saturday, Aug 30, 2003, at 11:49 America/New_York, Rasmus > Lerdorf > Lic> wrote: > >>> Of course it is a matter of typing. In a loosely typed language >>> there >>> is >>> no concept of variable declaration. >>> >>> -Rasmus >>> >>> On Sat, 30 Aug 2003 [EMAIL PROTECTED] wrote: >>> >>>> Its not a matter of loose typing. Its a matter of the function of >>>> the >>>> first part of the for loop construct. It is used to declare (or >>>> "create") variables for use in the scope of the for loop. Its this >>>> way >>>> in virtually every language. Moreover, with the current >>>> implementation, >>>> the part of the for loop of which I speak could be left out without >>>> trouble. Its unnecessary. Furthermore, a new implementation should >>>> not >>>> affect old code. >>>> >>>> On Saturday, Aug 30, 2003, at 11:02 America/New_York, Rasmus Lerdorf >>>> wrote: >>>> >>>>> PHP, is a loosely typed language. If you want a strongly typed >>>>> language >>>>> where you can redeclare and re-use the same variable names within >>>>> the >>>>> same >>>>> scope, then use a strongly typed language. There are plenty of >>>>> them >>>>> around. This will never ever change in PHP. >>>> >>> > > > > > -- > Best regards, > Marcus mailto:[EMAIL PROTECTED] > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php