<?php class A { function foo() { return 1; } } class B extends A { function FOO() { return 2; } } $b = new B(); return $b->foo();
You have javascript disabled. You will not be able to edit any code.