diff options
Diffstat (limited to 'Zend/tests/return_types/013.phpt')
-rw-r--r-- | Zend/tests/return_types/013.phpt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/013.phpt b/Zend/tests/return_types/013.phpt index 673a8f9dbc..5b2c06748d 100644 --- a/Zend/tests/return_types/013.phpt +++ b/Zend/tests/return_types/013.phpt @@ -1,6 +1,5 @@ --TEST-- Closure inside method returned null, expected array - --FILE-- <?php class foo { @@ -14,7 +13,6 @@ class foo { $baz = new foo(); var_dump($func=$baz->bar(), $func()); - --EXPECTF-- Fatal error: Uncaught TypeError: Return value of foo::{closure}() must be of the type array, null returned in %s:%d Stack trace: |