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