Re: foreach() and list()
| From: | Cynic | Date: | Fri, 15 Dec 2000 22:45:25 +0000 |
| Subject: | Re: foreach() and list() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41523@lists.php.net to get a copy of this message | ||
Please, don't forget http://bugs.php.net/bugs.php?id=3074
I think it's even much more useful.
At 22:03 15.12. 2000, Andrei Zmievski wrote the following:
--------------------------------------------------------------
>Can we support the following syntax?
>
>foreach ($array as list($val1, $val2, $val3)) {
> ...
>}
>
>I think it could be useful in a number of situations.
>
>-Andrei
>* E Pluribus UNIX. *
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
>For additional commands, e-mail: php-dev-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz
ICQ: 2808 2505