$mc=new myclass(); or $mc= &new myclass(); ?
| From: | Peter Misun | Date: | Fri, 06 Jun 2003 12:13:21 +0000 |
| Subject: | $mc=new myclass(); or $mc= &new myclass(); ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-150482@lists.php.net to get a copy of this message | ||
need knowledge 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