is_callable

Supported Versions: PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
Verify that a value can be called as a function from the current scope.
<?php is_callable(mixed $value, bool $syntax_only = false, string &$callable_name = null): bool
<?php         $args = array_values($args);



        $callback = [$this, $method];

        assert(is_callable($callback));



        try {

            return call_user_func_array($callback, $args);