diff options
Diffstat (limited to 'Zend/tests/return_types/inheritance006.phpt')
-rw-r--r-- | Zend/tests/return_types/inheritance006.phpt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Zend/tests/return_types/inheritance006.phpt b/Zend/tests/return_types/inheritance006.phpt index 86c11aa57a..7d4bcbe57b 100644 --- a/Zend/tests/return_types/inheritance006.phpt +++ b/Zend/tests/return_types/inheritance006.phpt @@ -1,9 +1,7 @@ --TEST-- External covariant return type of self - --INI-- opcache.enable_cli=1 - --FILE-- <?php require __DIR__ . "/classes.php.inc"; @@ -19,6 +17,5 @@ class Bar extends Foo { return new B; } } - --EXPECTF-- Fatal error: Declaration of Bar::test(): B must be compatible with Foo::test(): A in %sinheritance006.php on line 14 |