note 106633 added to functions.variable-functions
| From: | f at francislacroix dot info | Date: | Wed, 23 Nov 2011 14:58:40 +0000 |
| Subject: | note 106633 added to functions.variable-functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184638@lists.php.net to get a copy of this message | ||
To answer to Anonymous below,
The following are not functions, they are language constructs (clearly can be seen in green in the
post below):
array()
echo()
isset()
list()
unset()
While these constructs "accept variable arguments", they cannot be called dynamically
(i.e.: with call_user_func and such).
Doing this:
<?php
call_user_func('echo', 'foo');
// or
$func = 'echo';
$func('foo');
?>
...will not work.
----
Server IP: 69.147.83.197
Probable Submitter: 66.46.85.195
----
Manual Page -- http://www.php.net/manual/en/functions.variable-functions.php
Edit -- https://master.php.net/note/edit/106633
Del: integrated -- https://master.php.net/note/delete/106633/integrated
Del: useless -- https://master.php.net/note/delete/106633/useless
Del: bad code -- https://master.php.net/note/delete/106633/bad+code
Del: spam -- https://master.php.net/note/delete/106633/spam
Del: non-english -- https://master.php.net/note/delete/106633/non-english
Del: in docs -- https://master.php.net/note/delete/106633/in+docs
Del: other reasons-- https://master.php.net/note/delete/106633
Reject -- https://master.php.net/note/reject/106633
Search -- https://master.php.net/manage/user-notes.php