Php Optional Function Parameters Python