note 28412 added to function.each
| From: | zeihor at hotmail dot com | Date: | Sun, 12 Jan 2003 12:58:17 +0000 |
| Subject: | note 28412 added to function.each | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42020@lists.php.net to get a copy of this message | ||
A note about erica's code that would apply a function to each value in the array:
there is a built-in function for that: array_walk
--
http://www.php.net/manual/en/function.each.php
http://master.php.net/manage/user-notes.php?action=edit+28412
http://master.php.net/manage/user-notes.php?action=delete+28412
http://master.php.net/manage/user-notes.php?action=reject+28412