I have a function like:
function do_something($first, $second=null, $third=null) {
if ($isset($second)) {
// Do something here
}
}
Now, I want to pass a value for $third
to the function, but I want $second
to remain NULL:
do_something('abc','','def');
Now, $second
is no longer NULL. How can I pass a value for $third
while leaving $second
NULL?