<?php class Foo { public function bar() { } } $class = 'callable'; $callback = [new Foo(), 'bar']; var_dump($callback instanceof $class);
You have javascript disabled. You will not be able to edit any code.