This question has to deal with class inheritance greater than 2 levels. Consider you have the following:
class A
{
function doSomething() { echo "I'm in class A"; }
}
class B extends A
{
function doSomething() { echo "I'm in class B"; }
}
class C extends B
{
// doSomething is not declared
}
which parent class gets called when I call the following :
$c = new C();
$c->doSomething();