note 17791 deleted from function.next by jimw

From: Date: Wed, 02 Jan 2002 01:30:35 +0000
Subject: note 17791 deleted from function.next by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-24099@lists.php.net to get a copy of this message
The 'while(list($key,$val) = each($array))' loop syntax is less readable and less intuitive than 'foreach($array as $val)' or 'foreach($array as $key => $val)'. cf. http://www.php.net/manual/en/control-structures.foreach.php

« previous php.notes (#24099) next »