Forum Moderators: coopster
They are just shortcuts to:
If you want to set a bunch of variables to empty strings, just: $elements = array(); //empty arrays
$stack = array();
$total_elements = 0; //empty variables
$total_chars = 0;
And, prefict, welcome to Webmaster World!
$variable1 = $variable2 = $variable3 = $variable4 = $variable5 = $variable6 = $variable7 = "";
I am a .NET VB ASP developer started programming in perl 8 years ago but PHP is still new enough to me that short cuts like this one look strange. In asp or VB I'd use a similar model
dim var1,var2,var3 etc comas make sense but the ='s signs just seem very strange.
I am finding PHP to be nice OOP though, fits very cleanly into my .NET development understanding.
Thanks again for the input.
;)