note 21674 deleted from function.array-map by irchtml
| From: | irchtml@php.net | Date: | Sun, 08 Feb 2004 07:28:59 +0000 |
| Subject: | note 21674 deleted from function.array-map by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64807@lists.php.net to get a copy of this message | ||
Note Submitter: shane at sell d.t com
----
With the help of an associate of mine, I discovered that array_map, like array_filter, takes an
array with an object reference and method as the callback.
ie:
array_map( array($this, "callback"), $arr );