Try a helper function
function helper() {
return a::test();
}
$testfunct = "helper";
...
Unger, Christian wrote:
>I have problems to make a dynamic call, please help me
>
>class a {
> function test() {
> echo "Hallo";
> }
>}
>
>$testfunct = "a::test";
>
>$testfunct();
>
>?>
>
>r
Hi There
Try doing it this way:
Regards
-|Scott
> -Original Message-
> From: Unger, Christian [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 2:51 PM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] Class operator :: Problem
>
>
> I have problems to make a dynamic call, ple
2 matches
Mail list logo