note 49542 added to function.array-map
| From: | wjyong at sh163 dot net | Date: | Tue, 01 Feb 2005 07:43:51 +0000 |
| Subject: | note 49542 added to function.array-map | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84304@lists.php.net to get a copy of this message | ||
Pay attention to this case:
<?php
$a = array('config.inc.php', 'db.class.php');
array_map('include', $a);
array_map('print', $a);
array_map('echo', $a);
?>
It does NOT work, due to keywords, not functions
----
Manual Page -- http://www.php.net/manual/en/function.array-map.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49542
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49542&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49542&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49542&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49542&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49542&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49542&report=yes
Search -- http://master.php.net/manage/user-notes.php