note 78741 deleted from function.count by danbrown

From: Date: Fri, 09 Jan 2009 22:59:17 +0000
Subject: note 78741 deleted from function.count by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-149008@lists.php.net to get a copy of this message
Note Submitter: Jaik ---- The last comment is somewhat inefficient as it runs the count() function at the start of every loop. The preferred way to iterate through an array would be to use the 'foreach' control structure.

« previous php.notes (#149008) next »