I pass 2 parameters to a function
as I trace inside the function, the arguments values are merged into an array, stored in the first parameter
while the second argument appears to be $null
function SomeFunction($arg1,$arg2)
{
...
SomeFunction("test","test2")
$arg1 is an [Object[2]], containing ["test","test2"], $arg2 is $null
- how is this even possible ?
- how can I fix this so that I can get 2 parameters with their respective values
thanks for your help