3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar() { } } $callable = [Foo::class, 'bar']; var_export(is_callable($callable));

preferences:
31.28 ms | 405 KiB | 5 Q