summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/023.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/023.phpt')
-rw-r--r--Zend/tests/return_types/023.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/023.phpt b/Zend/tests/return_types/023.phpt
index 9e36bf7c04..70202bce58 100644
--- a/Zend/tests/return_types/023.phpt
+++ b/Zend/tests/return_types/023.phpt
@@ -1,13 +1,11 @@
--TEST--
PHP 4 Constructors cannot declare a return type
-
--FILE--
<?php
class Foo {
function foo() : Foo {}
}
-
--EXPECTF--
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Foo has a deprecated constructor in %s on line %d