variable variable function calling
| From: | Monte Ohrt | Date: | Thu, 19 Apr 2001 14:32:48 +0000 |
| Subject: | variable variable function calling | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-559@lists.php.net to get a copy of this message | ||
Someone clue me in before I go crazy :-) What is the syntax for calling
a variable function name with arguments? This doesn't work:
$funcname = "get_db_stuff";
${$funcname}($resource_name,$template_source,$template_timestamp);
<b>Fatal error</b>: Call to undefined function: () ...