title: PHP Function with Optional Parameters
body: <p>I've written a PHP function that can accept 10 parameters, but only 2 are required. Sometimes, I want to define the eighth parameter, but I don't want to type in empty strings for each of the parameters until I reach the eighth.</p>
  <p>One idea I had was to pass an abstracted function with an array of parameters which passes it along to the real function.</p>
  <p>Is there a better way to set up the function so I can pass in only the parameters I want?</p>