note 80179 rejected from control-structures.foreach by felipe
| From: | felipe@php.net | Date: | Thu, 03 Jan 2008 01:29:38 +0000 |
| Subject: | note 80179 rejected from control-structures.foreach by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134674@lists.php.net to get a copy of this message | ||
Note Submitter: dennismv at hotmail dot com
----
Why not do
foreach ($user in $users)
foreach ($key => $user in $users)
I think this way is more intuitive than what you have now.