note 19869 deleted from function.list by wez

From: Date: Thu, 15 May 2003 20:11:23 +0000
Subject: note 19869 deleted from function.list by wez
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48037@lists.php.net to get a copy of this message
as jpaulo mentioned above, list seems to assign variables in the reverse order. Take this code, for example: list($nums['one'], $nums['two']) = array(1,2); The resulting $nums array looks like this: Array ( [two] => 2 [one] => 1 ) and not: Array ( [one] => 1 [two] => 2 ) as we might expect. S

« previous php.notes (#48037) next »