Is this a bug? (Closure invocation as class field)
Take the following: $a = 1; $closure = function($b) use ($a) { // Do stuff }; class XYZ { private $c; public function construct($c) { $this->c = $c; } public function example_error($v) { // This fails (Call to undefined method XYZ::c) $this->c($v); } public function example_success($v) {