Thank you very much...
This worked:
$message = ${$this->func_name($string)};
and, this worked: (I am going to stick with this)
$message = ${$this->func_name}($string);
However, this did NOT work:
$message = ${$this}->func_name($string);
Lesson learned: I need to enclose the function
At 11:22 PM 2/16/2002 -0800, Anas Mughal wrote:
>I get a parse error using my CGI version of PHP on the
>following line:
>
>$message = $$this->func_name($string);
>
>However, the same above line works fine with my ISP's
>CGI version of PHP.
That is strange. Just for kicks, try using curly br
I get a parse error using my CGI version of PHP on the
following line:
$message = $$this->func_name($string);
However, the same above line works fine with my ISP's
CGI version of PHP.
The first thing that jumps to my mind is that my ISP's
CGI version could have been compiled with some
differ
3 matches
Mail list logo