← Back
Editing: inheritance_004.phpt
--TEST-- ZE2 method inheritance without interfaces --FILE-- <?php class A { function f() {} } class B extends A { function f($x) {} } ?> --EXPECTF-- Fatal error: Declaration of B::f($x) must be compatible with A::f() in %sinheritance_004.php on line %d
Save File
Cancel