note 9666 rejected from functions by hholzgra

From: Date: Tue, 05 Mar 2002 13:48:54 +0000
Subject: note 9666 rejected from functions by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-27372@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.

« previous php.notes (#27372) next »