note 40120 added to function.array-walk
| From: | MartinLucas-Smith at rn2 dot php dot net | Date: | Sun, 22 Feb 2004 14:16:42 +0000 |
| Subject: | note 40120 added to function.array-walk | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-65539@lists.php.net to get a copy of this message | ||
It appears that you can't use array_walk to call a static method in a class, i.e.
array_walk($array, 'className::method'); won't work.
----
Manual Page -- http://www.php.net/manual/en/function.array-walk.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40120
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40120&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40120&report=yes
Search -- http://master.php.net/manage/user-notes.php