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

From: Date: Fri, 06 Jun 2003 12:17:25 +0000
Subject: Re: doing $mc=new myclass(); or $mc= &new myclass(); ?
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-20224@lists.php.net to get a copy of this message
but I couldn't find case, in which is better to use the first form why should I have copy, if there is an original where I'm not having control over it ?!? 5o Per Lundberg wrote: > On Fri, 2003-06-06 at 11:23, Peter Misun wrote: > > need help: > > what do you suggest to use: > > > > $mc = new myclass(); > > or > > $mc = &new myclass(); > > The first form will copy the object. If you don't want this, use the > second form. > -- > Best regards, > > Per Lundberg / Capio ApS > Phone: +46-18-4186040 > Fax: +46-18-4186049 > Web: http://www.nobolt.com > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > Name: signature.asc > signature.asc Type: application/pgp-signature > Encoding: 7bit > Description: This is a digitally signed message part -- Mgr. Peter Misun MicroStep-MIS, Ilkovicova 3, 841 04 Bratislava, Slovakia tel: +421/ 2/ 602 00 127, 111, fax: +421/ 2/ 602 00 180

« previous php.windows (#20224) next »