I'd like to just modify the second default param in a function but I don't know how to
function test($a, $b = "b", $c = "c"){
echo $a." ".$b." ".$c;
}
test("a");
test("a","z","e");
test("a","z");
I'd like for exemple to use this function keeping $b
as default and changing $c
.
I try
test("a",,"f");
But it doesn't work.