<?php class Test { public function __invoke(){ return 'test'; } } var_dump(is_callable(Test::class)); var_dump(is_callable(new Test()));
You have javascript disabled. You will not be able to edit any code.