Re: doing $mc=new myclass(); or $mc= &new myclass(); ?
| From: | Per Lundberg | Date: | Fri, 06 Jun 2003 12:14:42 +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-20223@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc