title: How would I skip optional arguments in a function call?
body: <p>OK I totally forgot how to skip arguments in PHP.</p>
  
  <p>Lets say I have:</p>
  
  <pre><code>function getData($name, $limit = '50', $page = '1') {
      ...
  }
  </code></pre>
  
  <p>How would I call this function so that the middle parameter takes the default value (ie. '50')?</p>
  
  <pre><code>getData('some name', '', '23');
  </code></pre>
  
  <p>Would the above be correct? I can't seem to get this to work.</p>