summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/003.phpt')
-rw-r--r--Zend/tests/return_types/003.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/003.phpt b/Zend/tests/return_types/003.phpt
index e12e215de2..676d668cb8 100644
--- a/Zend/tests/return_types/003.phpt
+++ b/Zend/tests/return_types/003.phpt
@@ -1,13 +1,11 @@
--TEST--
Returned 1, expected array
-
--FILE--
<?php
function test1() : array {
return 1;
}
test1();
-
--EXPECTF--
Fatal error: Uncaught TypeError: Return value of test1() must be of the type array, integer returned in %s:%d
Stack trace: