How do I prevent the default first parameters from being overwritten, when second has to be change? I expect the output "SecretPassword", not NULL
<?php
myFunc(NULL,true); //echo NULL not:"SecretPassword"
function myFunc($param1='SecretPassword',$param2=false){
echo $param1;
}
?>