note 25707 added to functions
| From: | user at notavail dot net | Date: | Wed, 02 Oct 2002 17:53:42 +0000 |
| Subject: | note 25707 added to functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37567@lists.php.net to get a copy of this message | ||
Is it possible to create a function whose name comes from a variable?
i.e.
$func_name="newfunction";
function $func_name();
and if so how would you go about calling the function afterwards?
Thanks
--
http://www.php.net/manual/en/functions.php
http://master.php.net/manage/user-notes.php?action=edit+25707
http://master.php.net/manage/user-notes.php?action=delete+25707
http://master.php.net/manage/user-notes.php?action=reject+25707