summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/rfc001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/rfc001.phpt')
-rw-r--r--Zend/tests/return_types/rfc001.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/rfc001.phpt b/Zend/tests/return_types/rfc001.phpt
index 5a1d42b446..6a17525b72 100644
--- a/Zend/tests/return_types/rfc001.phpt
+++ b/Zend/tests/return_types/rfc001.phpt
@@ -1,6 +1,5 @@
--TEST--
RFC example: returned type does not match the type declaration
-
--FILE--
<?php
@@ -9,7 +8,6 @@ function get_config(): array {
}
get_config();
-
--EXPECTF--
Fatal error: Uncaught TypeError: Return value of get_config() must be of the type array, integer returned in %s:%d
Stack trace: