note 26370 deleted from function.array-map by aidan
| From: | aidan@php.net | Date: | Tue, 06 Jul 2004 08:29:37 +0000 |
| Subject: | note 26370 deleted from function.array-map by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72719@lists.php.net to get a copy of this message | ||
Note Submitter: php1@goelette (TLD=net)
----
If you want to call back a function in a class, you cannot use:
array_map('class_function', $my_array)
Use:
array_map(array($this, 'class_function'), $my_array)