Re: creating objects by reference?
| From: | Matthew Gray | Date: | Thu, 19 Dec 2002 02:39:28 +0000 |
| Subject: | Re: creating objects by reference? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128794@lists.php.net to get a copy of this message | ||
Jonathan Sharp wrote:
> Is it better to do:
> $obj = &new object();
>
> verses:
> $obj = new object();
>
> thanks,
> -js
If you are looking to the future: I don't believe the ability to return
objects by reference will be an option in Zend Engine 2.
Matt