title: pass variable to function using same name
body: <p>Is it considered wrong to pass a variable to a function where the variable passed has the same name as the variable in the function itself? I never see anyone do this, but wondered if there was a reason why (other than readability). Example:</p>
  
  <pre><code>$variable = "value";
  
  function myFunction($variable) {
      return $variable;
  }
  </code></pre>