This may be a duplicate post, but searching for the answer just led me to the C, Java and ColdFusion ways of doing this...
Given class A with method foo()
and class B extends A and also has foo()
, I want to run something like:
$b = new B();
$b->A::foo(); (this is working C syntax, but that doesn't seem to work)