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     protected function manipulateJson($method, $args, $fallback)

    {

        $args = func_get_args();


        array_shift($args);

        $fallback = array_pop($args);
<?php     {

        try {

            self::suppress();

            $result = call_user_func_array($callable, array_slice(func_get_args(), 1));

            self::restore();



            return $result;
<?php         self::$lastError = null;

        set_error_handler(__CLASS__.'::handleError');

        try {

            $result = $func(...\array_slice(\func_get_args(), 1));

            restore_error_handler();



            return $result;