call_user_func

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Call the callback given by the first parameter
<?php call_user_func(callable $callback, mixed ...$args): mixed
<?php     $backtrace = new Backtrace($trace);



    if ($backtrace->getFunctionName() === 'eval') {

        return call_user_func($callback);

    }
<?php     }



    if (! $cache->isEnabled()) {

        return call_user_func($callback, $backtrace->getArguments());

    }



    if (! $cache->has($object, $hash)) {
<?php     }



    if (! $cache->has($object, $hash)) {

        $result = call_user_func($callback, $backtrace->getArguments());



       $cache->set($object, $hash, $result);

    }