<?php $fn = function() { var_dump($this->foo); }; $fn = $fn->bindTo((object) array('foo' => 'bar')); $fn();
You have javascript disabled. You will not be able to edit any code.