<?php class Test { public function method() { echo 'called'; } } $c = [Test::class, 'method']; if (is_callable($c)) { $c(); }
You have javascript disabled. You will not be able to edit any code.