Re: doing $mc=new myclass(); or $mc= &new myclass(); ?

From: Date: Fri, 06 Jun 2003 10:10:36 +0000
Subject: Re: doing $mc=new myclass(); or $mc= &new myclass(); ?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20216@lists.php.net to get a copy of this message
I do believe you want the first version... "Peter Misun" <misun@microstep-mis.com> skrev i meddelandet news:3EE05D7E.3BD4FCDD@microstep-mis.com... > > need help: > what do you suggest to use: > > $mc = new myclass(); > or > $mc = &new myclass(); > > because in any tutorial I can see the first form, but on page "what references do" in PHP manual I found out the second form > > so? > > 5o > >

« previous php.windows (#20216) next »