Skip to content

Commit f3af1d4

Browse files
committed
Add test I forgot to git add
1 parent 4370252 commit f3af1d4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--TEST--
2+
Check interaction of first-class callables with optimization
3+
--FILE--
4+
<?php
5+
6+
function test1() {}
7+
function test2() { return 42; }
8+
9+
var_dump(test1(...));
10+
var_dump(test2(...));
11+
12+
?>
13+
--EXPECT--
14+
object(Closure)#1 (0) {
15+
}
16+
object(Closure)#1 (0) {
17+
}

0 commit comments

Comments
 (0)