note 26539 added to function.array-values
| From: | php-general at lists dot php dot net | Date: | Mon, 04 Nov 2002 01:48:40 +0000 |
| Subject: | note 26539 added to function.array-values | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38937@lists.php.net to get a copy of this message | ||
also useful to use for list(), if the array for input is the result of a function that only returns
associative arrays:
list($var1, $var2, $var3) = array_values(myfunc("only returns assoc arrays"));
--
http://www.php.net/manual/en/function.array-values.php
http://master.php.net/manage/user-notes.php?action=edit+26539
http://master.php.net/manage/user-notes.php?action=delete+26539
http://master.php.net/manage/user-notes.php?action=reject+26539