Re: Dang lack of a list reply button

From: Date: Fri, 19 Oct 2007 18:25:47 +0000
Subject: Re: Dang lack of a list reply button
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-263409@lists.php.net to get a copy of this message
Nathan Hawks wrote:
I have only done this when I am building the function name using a string expression, so my advice might not be necessary in your case but it has worked for me: {$function}($var); In that case, the curly braces equate to the eval() function in Javascript.
You don't need the { }. http://dev.stut.net/php/varfunc.php -Stut -- http://stut.net/

« previous php.general (#263409) next »