why?
there is written, that not using & sign will assign only copy ov object created - that 
means, you have one object 2 times in memory (in the first case)

5o


Dvdmandt wrote:

> I do believe you want the first version...
> "Peter Misun" <[EMAIL PROTECTED]> skrev i meddelandet
> news:[EMAIL PROTECTED]
> >
> > 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
> >
> >

--

Mgr. Peter Misun
MicroStep-MIS, Ilkovicova 3, 841 04 Bratislava, Slovakia
tel: +421/ 2/ 602 00 127, 111,  fax: +421/ 2/ 602 00 180



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to