<?php class A { protected function _a() { return 'waa?'; } } $c = function() { return $this->_a(); }; $a = new A; $c = $c->bindTo($a, 'A'); var_dump($c); $c();
You have javascript disabled. You will not be able to edit any code.