summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/018.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/018.phpt')
-rw-r--r--Zend/tests/return_types/018.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/018.phpt b/Zend/tests/return_types/018.phpt
index 6c243ac756..2512c6cf49 100644
--- a/Zend/tests/return_types/018.phpt
+++ b/Zend/tests/return_types/018.phpt
@@ -1,12 +1,10 @@
--TEST--
Destructors cannot declare a return type
-
--FILE--
<?php
class Foo {
function __destruct() : Foo {}
}
-
--EXPECTF--
Fatal error: Destructor %s::%s() cannot declare a return type in %s on line %d