note 43344 deleted from function.list by aidan

From: Date: Sat, 14 Aug 2004 20:18:05 +0000
Subject: note 43344 deleted from function.list by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-74643@lists.php.net to get a copy of this message
Note Submitter: dave146@burtonsys.com ---- If the number of list elements is fewer than the number of array elements being assigned, then the excess list elements become unset: $c = 1; @ list($a,$b,$c) = array(2,3); // unsets $c if (isset($c)) print "This won't print.<br>\n"; else print '$c is not set'."<br>\n"; prints: $c is not set

« previous php.notes (#74643) next »