doing $mc=new myclass(); or $mc= &new myclass(); ?
| From: | Peter Misun | Date: | Fri, 06 Jun 2003 09:23:10 +0000 |
| Subject: | doing $mc=new myclass(); or $mc= &new myclass(); ? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20215@lists.php.net to get a copy of this message | ||
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