<?php class Kitchen { private $value = 'cheese'; } $k = new Kitchen(); $m = function(){ var_dump($this); }; Closure::bind($m, $k, $k); $m();
You have javascript disabled. You will not be able to edit any code.