diff options
Diffstat (limited to 'Zend/tests/return_types/023.phpt')
-rw-r--r-- | Zend/tests/return_types/023.phpt | 2 |
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 |