Re: foreach() and list()

From: Date: Sat, 16 Dec 2000 01:58:50 +0000
Subject: Re: foreach() and list()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-41557@lists.php.net to get a copy of this message
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@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
-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/

« previous php.dev (#41557) next »