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