Fixing "Assigning the return value of new by reference is deprecated" in PEAR?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2246546/pear-error-messages-with-php5-3-0">Pear error messages with PHP5.3.0</a>  </p>
</blockquote>



<p>I am new to php and I am following a tutorial on net. I dont have a knowledge about this PEAR thing what I know it is a library. I download xampp and pear is included in it. But I run into this error.<br/><br/>error says<br/></p>

<blockquote>
  <p>Deprecated: Assigning the return value of new by reference is
  deprecated in C:\xampp\php\PEAR\Config.php on line 80</p>
  
  <p>Deprecated: Assigning the return value of new by reference is
  deprecated in C:\xampp\php\PEAR\Config.php on line 166</p>
</blockquote>

<p><br/><br/>what I did was go into there and change this</p>

<pre><code>function Config()
    {
        $this-&gt;container =&amp; new Config_Container('section', 'root');
    } // end constructor
</code></pre>

<p>into this</p>

<pre><code>function Config()
    {
        $this-&gt;container = new Config_Container('section', 'root');
    } // end constructor
</code></pre>

<p>I somehow get rid of the error but What if the change I made will made more errors in the future.</p>
