PHP Declaring Multiple Variables
This one is for all of you out there that think code is beautiful. This is a nice way to declare multiple variables to the same value with one clean line. I use this often when coding for E_STRICT so that I do not get a "Notice" for uninitialized variables.
PHP:
-
$var1 = $var2 = $var3 = 0;
Home | PHP | PHP Declaring Multiple Variables
You’re currently reading “ PHP Declaring Multiple Variables ,” an entry on BRADINO
- Published:
- 4.17.07 / 10pm
- Category:
- PHP












