func_get_args

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns an array comprising a function's argument list
<?php func_get_args(): array
<?php         }



        $task = array_shift($tasks);

        $promise = call_user_func_array($task, func_get_args());

        assert($promise instanceof PromiseInterface);

        $pending = $promise;