RE: [PHP] Assignment operator questions

From: Date: Fri, 30 May 2003 21:48:21 +0000
Subject: RE: [PHP] Assignment operator questions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-149588@lists.php.net to get a copy of this message
Exactly what you just did will work ... <?php $c = 1; $a = $b = $c; ?> $a, $b and $c all are 1 now. --Joe -- Joe Stump <joe@joestump.net> http://www.joestump.net "Label makers are proof God wants Sys Admins to be happy." -----Original Message----- From: Andrew D. Luebke [mailto:andrew@copeandmcphetres.com] Sent: Friday, May 30, 2003 11:47 AM To: php-general@lists.php.net Subject: [PHP] Assignment operator questions Is it possible to do the following in PHP a = b = c; Which in C, for instance would set b and a equal to c. Thanks. Andrew. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#149588) next »