Assigning the return value of new by reference is deprecated
<p>i have done some research into the source of the errors whilst setting up Built2Go Car Dealer and need help adjusting the code</p>

<p><strong>Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\speedyautos\install.php on line 185</strong></p>

<p><strong>lines 182 to 200 read</strong></p>

<pre><code>if ($level == "4")
{

                $Install = &amp;new INSTALL();
                $Install-&gt;INSTALLS();
                if ($Install-&gt;InstallError)
                {
                                $GetResult = "&lt;div class=\"error\"&gt;Style Import Failed. Error below: &lt;br /&gt;&lt;br /&gt;$Install-&gt;InstallError&lt;/div&gt;";
                                $submitbtn = "&lt;input type=\"hidden\" name=\"level\" value=\"4\" /&gt;&lt;input class=\"button\" type=\"submit\" name=\"next\" value=\"Redo to Step 4\" /&gt;&lt;/form&gt;&lt;/div&gt;\n";
                }
                else
                {
                                $GetResult = "&lt;div class=\"error\"&gt;$Install-&gt;msg&lt;/div&gt;";
                                $GetResult .= "&lt;a href='admincp/index.php'&gt;Login to Your Admin&lt;/a&gt;&lt;/p&gt;
              &lt;p align=\"center\"&gt;Thank you for the Installing The $name_of_site Script. It is required to Delete this install script once done.&lt;/p&gt;\n";

                                $submitbtn = "&lt;div class=\"boxcontent\"&gt;Finished&lt;/div&gt;&lt;/form&gt;\n";

                }
</code></pre>

<p><strong>Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\speedyautos\admincp\func.php on line 434</strong></p>

<p><strong>lines 429 to 439 read</strong></p>

<pre><code>    $CarInfo = new Cars($db);
            $CarInfo-&gt;GetMostPopular();
            if (!eregi("admincp", $_SERVER['REQUEST_URI']))
            {
                            $db = new DBM;
                            $Booth = &amp;new Booth($db);
                            if ($SystemInfo-&gt;_systemstatus['Display_Poll'] == 'A')
                            {
                                            $Poll = $Booth-&gt;display_booth();
                            }
            }
</code></pre>
