1--TEST--
2Closure 030: Using lambda with variable variables
3--FILE--
4<?php
5
6$b = function() { return func_get_args(); };
7$a = 'b';
8var_dump($$a(1));
9var_dump($$a->__invoke(2));
10
11?>
12--EXPECT--
13array(1) {
14  [0]=>
15  int(1)
16}
17array(1) {
18  [0]=>
19  int(2)
20}
21