Php Optional Function Parameters Powershell Version