or, to elaborate on what tserbis said, swap the vars
function func($b = 6, $a = 5)
{
echo "HI!<br>";
}
//then you can call
func($b = 1);
// and $a will default to 5
the vars which default always have to be to the right - you cannot skip an argument just by putting in an extra comma
adam