note 21674 added to function.array-map

From: Date: Wed, 22 May 2002 19:26:35 +0000
Subject: note 21674 added to function.array-map
Groups: php.notes 
Request: Send a blank email to php-notes+get-30921@lists.php.net to get a copy of this message
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 ); -- http://www.php.net/manual/en/function.array-map.php http://master.php.net/manage/user-notes.php?action=edit+21674 http://master.php.net/manage/user-notes.php?action=delete+21674 http://master.php.net/manage/user-notes.php?action=reject+21674

« previous php.notes (#30921) next »