note 115622 added to function.array-walk
| From: | ezhacher at gmail dot com | Date: | Wed, 27 Aug 2014 12:45:07 +0000 |
| Subject: | note 115622 added to function.array-walk | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-200322@lists.php.net to get a copy of this message | ||
Calling an array Walk inside a class
If the class is static:
array_walk($array, array('self', 'walkFunction'));
or
array_walk($array, array('className', 'walkFunction'));
Otherwise:
array_walk($array, array($this, 'walkFunction'));
----
Server IP: 72.52.91.14
Probable Submitter: 197.229.226.7
----
Manual Page -- http://php.net/manual/en/function.array-walk.php
Edit -- https://master.php.net/note/edit/115622
Del: integrated -- https://master.php.net/note/delete/115622/integrated
Del: useless -- https://master.php.net/note/delete/115622/useless
Del: bad code -- https://master.php.net/note/delete/115622/bad+code
Del: spam -- https://master.php.net/note/delete/115622/spam
Del: non-english -- https://master.php.net/note/delete/115622/non-english
Del: in docs -- https://master.php.net/note/delete/115622/in+docs
Del: other reasons-- https://master.php.net/note/delete/115622
Reject -- https://master.php.net/note/reject/115622
Search -- https://master.php.net/manage/user-notes.php