note 106633 deleted from functions.variable-functions by danbrown
| From: | danbrown@php.net | Date: | Tue, 29 Nov 2011 15:53:03 +0000 |
| Subject: | note 106633 deleted from functions.variable-functions by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-184796@lists.php.net to get a copy of this message | ||
Note Submitter: f at francislacroix dot info
----
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.