<?php class A { function foo() { return 'foo'; } function test($arg) { $f = function () use ($arg) { echo $this->foo() . $arg . PHP_EOL; }; $f(); } } $a = new A(); $a->test('baz');
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`