title: Is it possible to use named function parameters in PHP?
body: <p>Is it possible in <code>php</code> like in <code>python</code> to have named function parameters? An example use case is:</p>
  <pre><code>function foo($username = &quot;&quot;, $password = &quot;&quot;, $timeout = 10) {
  
  }
  </code></pre>
  <p>I want to override <code>$timeout</code>:</p>
  <pre><code>foo(&quot;&quot;, &quot;&quot;, 3);
  </code></pre>
  <p>Ugly. I would much rather do:</p>
  <pre><code>foo(timeout=3);
  </code></pre>