diff options
Diffstat (limited to 'tests/classes/inheritance_004.phpt')
-rw-r--r-- | tests/classes/inheritance_004.phpt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/classes/inheritance_004.phpt b/tests/classes/inheritance_004.phpt index 7eb57b2770..682bee7a1b 100644 --- a/tests/classes/inheritance_004.phpt +++ b/tests/classes/inheritance_004.phpt @@ -5,7 +5,7 @@ ZE2 method inheritance without interfaces class A { - function f() {} +function f() {} } class B extends A @@ -14,7 +14,5 @@ class B extends A } ?> -===DONE=== --EXPECTF-- -Warning: Declaration of B::f($x) should be compatible with A::f() in %sinheritance_004.php on line %d -===DONE=== +Fatal error: Declaration of B::f($x) must be compatible with A::f() in %sinheritance_004.php on line %d |