1--TEST--
2First class callables and &__call()
3--FILE--
4<?php
5class Foo {
6    public function &__call($method, $args) {
7        return $method;
8    }
9}
10
11$foo = new Foo;
12$bar = $foo->bar(...);
13echo $bar(),"\n";
14?>
15--EXPECT--
16bar
17