<?php class Foo1 { function bar(){ echo 1;} } class Foo2 extends Foo1 { function bar(){ echo 2;} } class Foo3 extends Foo2 { function bar(){ Foo1::bar(); } } $obj = new Foo3(); $obj->bar();
You have javascript disabled. You will not be able to edit any code.