summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/008.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/008.phpt')
-rw-r--r--Zend/tests/return_types/008.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/008.phpt b/Zend/tests/return_types/008.phpt
index 47343d0564..f2e01299de 100644
--- a/Zend/tests/return_types/008.phpt
+++ b/Zend/tests/return_types/008.phpt
@@ -1,6 +1,5 @@
--TEST--
Return type covariance in interface implementation
-
--FILE--
<?php
interface foo {
@@ -16,6 +15,5 @@ class qux implements foo {
$qux = new qux();
var_dump($qux->bar());
-
--EXPECTF--
Fatal error: Declaration of qux::bar(): qux must be compatible with foo::bar(): foo in %s008.php on line 7