PHP function's parameter is unclear
<pre><code>function test($param=null) {
    if ($param===null)
      .....
}
</code></pre>

<p>Since $param is set to null at function header, why even bother test if $param===null? If there a case $param wouldn't be null?</p>
