note 45380 added to function.array-walk
| From: | bisqwit at iki dot fi | Date: | Fri, 03 Sep 2004 23:54:52 +0000 |
| Subject: | note 45380 added to function.array-walk | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-76003@lists.php.net to get a copy of this message | ||
It's worth nothing that array_walk can not be used to change keys in the array.
The function may be defined as (&$value, $key) but not (&$value, &$key).
Even though PHP does not complain/warn, it does not modify the key.
----
Manual Page -- http://www.php.net/manual/en/function.array-walk.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45380
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45380&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45380&report=yes
Search -- http://master.php.net/manage/user-notes.php