In PHP, if I have a function written like this
function example($argument1, $argument2=\"\", $argument3=\"\")
And I can call this function
It depends on spesification of function.
function a($b=true,$c=false){ echo $b?'true':'false'; }
executing
a(NULL, 1);
results : false. but simply a() results : true
That means you want default argument, then you should use as default:
a(true, 1);