note 24290 added to function.next

From: Date: Mon, 12 Aug 2002 12:26:07 +0000
Subject: note 24290 added to function.next
Groups: php.notes 
Request: Send a blank email to php-notes+get-34849@lists.php.net to get a copy of this message
For such actions, the 'simpler' and very likely faster way is the foreach: foreach($array as $key => $value) { ... } Such constructions are what make PHP such a nifty language, if you chose not to learn or accept the powers of a language, why use it? -- http://www.php.net/manual/en/function.next.php http://master.php.net/manage/user-notes.php?action=edit+24290 http://master.php.net/manage/user-notes.php?action=delete+24290 http://master.php.net/manage/user-notes.php?action=reject+24290

« previous php.notes (#34849) next »