1--TEST--
2Check interaction of first-class callables with optimization
3--FILE--
4<?php
5
6function test1() {}
7function test2() { return 42; }
8
9var_dump(test1(...));
10var_dump(test2(...));
11
12?>
13--EXPECT--
14object(Closure)#1 (1) {
15  ["function"]=>
16  string(5) "test1"
17}
18object(Closure)#1 (1) {
19  ["function"]=>
20  string(5) "test2"
21}
22