note 92324 deleted from functions.variable-functions by danbrown
| From: | danbrown@php.net | Date: | Mon, 20 Jul 2009 02:11:37 +0000 |
| Subject: | note 92324 deleted from functions.variable-functions by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158485@lists.php.net to get a copy of this message | ||
Note Submitter: giratina493 at mew151 dot net
----
Variable Variable Functions also work.
For example:
<?php
function printit()
{
echo "Variable variable functions work.";
}
$a = "test";
$$a = "printit";
${$a}();
?>
Would print "Variable variable functions work."