1--TEST--
2First Class Callable from Method
3--FILE--
4<?php
5class Foo {
6    public function bar()  {
7        echo "OK";
8    }
9}
10
11$foo = new Foo;
12$bar = $foo->bar(...);
13
14echo $bar();
15?>
16--EXPECT--
17OK
18