summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/022.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/022.phpt')
-rw-r--r--Zend/tests/return_types/022.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/022.phpt b/Zend/tests/return_types/022.phpt
index 47cbb791df..cf5bb4f672 100644
--- a/Zend/tests/return_types/022.phpt
+++ b/Zend/tests/return_types/022.phpt
@@ -1,6 +1,5 @@
--TEST--
Hint on closure with lexical vars
-
--FILE--
<?php
$foo = "bar";
@@ -12,6 +11,5 @@ $test = function() use($foo) : Closure {
$callable = $test();
var_dump($callable());
-
--EXPECTF--
string(3) "bar"