I found that in PHP5 the following does not work:
$a = "Foo";
$b = $a::getStaticMe thod();
I've tried {$a}::getStatic Method(); and a few other things. Looking
in the manual, Example 2 is just this. However, a user posted on Jan,
4 that this doesn't work (just as I found out today). Is this a bug?
Does anyone have a work-around? (I am not looking forward to doing an
eval instead).
Shelly
$a = "Foo";
$b = $a::getStaticMe thod();
I've tried {$a}::getStatic Method(); and a few other things. Looking
in the manual, Example 2 is just this. However, a user posted on Jan,
4 that this doesn't work (just as I found out today). Is this a bug?
Does anyone have a work-around? (I am not looking forward to doing an
eval instead).
Shelly
Comment