func_num_args

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns the number of arguments passed to the function
<?php func_num_args(): int
<?php     public function __construct($context = array(), $loop = null)

    {


        if (($context instanceof LoopInterface || $context === null) && (\func_num_args() <= 1 || \is_array($loop))) {

            $swap = $loop === null ? array(): $loop;

            $loop = $context;

            $context = $swap;