note 9666 added to Functions
| From: | voudras at nospam dot swiftslayer dot org | Date: | Fri, 17 Nov 2000 16:06:05 +0000 |
| Subject: | note 9666 added to Functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7812@lists.php.net to get a copy of this message | ||
something thats nice about php is that you can put the name of a function in a string variable, and
execute the funcion by simply naming the string.. for example
$string = "date";
$t = $string("YMH");
there are tons of good uses for this sort of functionality. But it should be noted that this will
not work with
include()
include_once()
require()
require_once()
it's safe to assume that this is for safty.
http://www.php.net/manual/functions.php