summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_extra_args.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/closure_extra_args.phpt')
-rw-r--r--Zend/tests/closure_extra_args.phpt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/tests/closure_extra_args.phpt b/Zend/tests/closure_extra_args.phpt
new file mode 100644
index 0000000000..05712e06c6
--- /dev/null
+++ b/Zend/tests/closure_extra_args.phpt
@@ -0,0 +1,11 @@
+--TEST--
+Immediately invoked closure with extra args
+--FILE--
+<?php
+
+(function() {})(new stdClass);
+
+?>
+===DONE===
+--EXPECT--
+===DONE===