On Tue, Aug 16, 2011 at 11:06 AM, Jeroen De Dauw jeroendedauw@gmail.comwrote:
trunk in Skin.php at ContextSource::__call() (end of file).
I can not find that code in 1.17 or trunk. But a similar code exist in
Indeed. It is in a whole bunch of extensions though, which is not very surprising, since extensions need to do compat checks, while core does not have to worry about that.
The code was introduced by Tim Starling in r85310 [1] with commit
message: HipHop does not support the static form of method_exists().
So is there HipHop compatible code that does not annoy users w/ warnings?
What you want to do here is probably:
$func = array( $anActualInstanceOfOutputPage, 'theNonStaticMethodName' ); is_callable($func)
-- brion