note 19869 added to function.list

From: Date: Wed, 13 Mar 2002 18:35:20 +0000
Subject: note 19869 added to function.list
Groups: php.notes 
Request: Send a blank email to php-notes+get-27749@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 -- http://www.php.net/manual/en/function.list.php http://master.php.net/manage/user-notes.php?action=edit+19869 http://master.php.net/manage/user-notes.php?action=delete+19869 http://master.php.net/manage/user-notes.php?action=reject+19869

« previous php.notes (#27749) next »