Re: [PHP-DEV] foreach() and list() From: Zeev Suraski (zeev <email protected>)
Date: 12/15/00

What would that do?

At 23:03 15/12/2000, Andrei Zmievski wrote:
>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 <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

--
Zeev Suraski <zeev <email protected>>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>