<?php class Foo { public function __call($name, array $args) { var_dump($name); } } $foo = new Foo; $cb = [$foo, 'bar']; var_dump(is_callable($cb), $cb());
You have javascript disabled. You will not be able to edit any code.