<?php class X { public $call; public function __construct() { $this->call = function () { echo "x"; }; } public function call($v) { echo $v; } } $object = new X; [$object, 'call']('v');
You have javascript disabled. You will not be able to edit any code.