Re: [PHP4BETA] no reverse fetch of arrays is BAD!

From: Date: Wed, 23 Feb 2000 15:28:39 +0000
Subject: Re: [PHP4BETA] no reverse fetch of arrays is BAD!
References: 1 2 3 4 5 6 7 8  Groups: php.version4 
Request: Send a blank email to php-version4+get-10735@lists.php.net to get a copy of this message
: On Wed, 23 Feb 2000, Faisal Nasim wrote: : > Only if you could provide local variable-scoping, I would be more : > than happy! (hey, this kid is asking for more and more everytime!) ;-) : : PHP does have local variables. Or do you mean something else? $cnt = 0; while ( $cnt++ < 10 ) { LOCAL $var; $var = "blah"; } is something like that supported? Or more general: $str = "whizkid"; print $str; // whizkid, this print is unnecessary for demo { $str = "faisal"; print $str; // faisal } print $str; // faisal again! not local! there is no 'LOCAL' or similar keyword I am sorry, I actually meant block-level scoping.... Is it possible before (or inside) the final v4 release? Thank you. Faisal

« previous php.version4 (#10735) next »