diff options
Diffstat (limited to 'Zend/tests/return_types/001.phpt')
-rw-r--r-- | Zend/tests/return_types/001.phpt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/001.phpt b/Zend/tests/return_types/001.phpt index 13bf93f4df..2b87a562f6 100644 --- a/Zend/tests/return_types/001.phpt +++ b/Zend/tests/return_types/001.phpt @@ -1,13 +1,11 @@ --TEST-- Returned nothing, expected array - --FILE-- <?php function test1() : array { } test1(); - --EXPECTF-- Fatal error: Uncaught TypeError: Return value of test1() must be of the type array, none returned in %s:%d Stack trace: |