Call-time pass-by-reference issue in php
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4665782/call-time-pass-by-reference-has-been-deprecated">Call-time pass-by-reference has been deprecated;</a>  </p>
</blockquote>



<pre><code>function getLib($pfComponentType,$pfComponentCode,$componentCode)
    {
        if($temp=require_once($this-&gt;getConfig($pfComponentType,$pfComponentCode,'librariesPath').$componentCode.'.php'))
        {
            $obj_lib = __NAMESPACE__.'\\'.$componentCode;
            return new $obj_lib(&amp;$this);
        }
        else return NULL;
    }
</code></pre>

<p>I am getting a error saying that  Call-time pass-by-reference has been removed in the line 6 of above function i.e., return new $obj_lib(&amp;$this);</p>
