i was having a look at a php script (namesilo module for whmcs) and found this function
function namesilo_transactionCall($callType, $call, $params)
and later in the script, it is called with the following code
namesilo_transactionCall("getNameServers", $apiServerUrl . "/api/getDomainInfo?version=1&type=xml&key=$apiKey&domain=$sld.$tld");
When it is called there is only two parameters and when the function was declared, the $params was not made optional. How is it possible. I am relatively new to php