<?php $f = function () { return $this->n; }; class MyClass { private $n = 42; } $myC = new MyClass; $f->call($myC);
You have javascript disabled. You will not be able to edit any code.