title: php function arguments
body: <p>I don't know how or where I got this idea in my head but for some reason I thought this was possible. Obviously after testing it doesn't work, but is there a way to make it work? I want to set $value2 without having to enter anything at all for $value1.</p>
  
  <pre><code>function test($value1 = 1, $value2 = 2) {
  
  echo 'Value 1: '.$value1.'&lt;br /&gt;';
  echo 'Value 2: '.$value2.'&lt;br /&gt;';
  
  }
  
  test($value2 = 3);
  
  // output
  Value 1: 3
  Value 2: 2
  </code></pre>