Why some variables are parameters and others aren't?
<p>What could be the reason for having this:</p>

<pre><code>public function __construct($host, $port, $timeout = 5){
    $errnum = 0;
    $errstr = ''; 
</code></pre>

<p>Instead of this:</p>

<pre><code>public function __construct($host, $port, $errnum = 0, $errstr = '', $timeout = 5){
</code></pre>

<p>?</p>

<p>Why some are params and others aren't ?</p>

<p>Thanks a lot,
MEM</p>
