Do you have a question? Post it now! No Registration Necessary. Now with pictures!
January 24, 2008, 10:07 pm
rate this thread
$a = "Foo";
$b = $a::getStaticMethod();
I've tried ::getStaticMethod(); 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 is evil.
I could have sworn it would work as the example BTW, apparantly not. =
Preferable to eval would be:
$b = call_user_func(array($a,'getStaticMethod'),$and,$some,$arguments)=
$b = =
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum