Let's say I have the following function:
Code: Select all
<?php
function foo($bar, $baz = "baz", $big = '', $bool = false)
{
//Some code is executed here.
//Note that ALL of the function arguments are used!
}
?>Let's I'd like to call the function, only altering the value of the arguments $bar and $bool:
Code: Select all
foo("bar", "baz", '', true);