note 45855 deleted from function.each by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 22 Sep 2004 19:33:07 +0000 |
| Subject: | note 45855 deleted from function.each by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77202@lists.php.net to get a copy of this message | ||
Note Submitter: jphansen at uga dot edu
----
To pyxl at dont_spam_on_me dot jerrell dot com:
I, too, had that question. Since each() was returning 4 elements, why could I only pick up two with
list()? Because list() only reads NUMERIC keys. So the keys "key" and "value"
are ignored, while the keys 0 and 1's values are returned into list()'s two arguments.