1--TEST--
2First class callables and references
3--FILE--
4<?php
5
6function &id(&$x) {
7    return $x;
8}
9
10$fn = id(...);
11$i = 0;
12$i2 =& $fn($i);
13$i++;
14var_dump($i2);
15
16?>
17--EXPECT--
18int(1)
19