1234567891011121314151617181920 |
- --TEST--
- ZE2 method inheritance without interfaces
- --FILE--
- <?php
- class A
- {
- function f() {}
- }
- class B extends A
- {
- function f($x) {}
- }
- ?>
- ===DONE===
- --EXPECTF--
- Warning: Declaration of B::f($x) should be compatible with A::f() in %sinheritance_004.php on line %d
- ===DONE===
|