$var2 = $var3 = $var5 = "all the same"; Jason
"Matthew Sims" <[EMAIL PROTECTED]> wrote: > > > Just mostly curious but is there a way to assign one variable to multiple > variables in one single line? > > Rather than do this: > > $var2 = $var1; > $var3 = $var1; > > Is there a method to perform a: > > ($var2,$var3) = $var1; > > -- > --Matthew Sims > --<http://killermookie.org> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php