Re: Re: Strange notation to create object
| From: | Kevin L'Huillier | Date: | Fri, 24 Jun 2005 20:27:02 +0000 |
| Subject: | Re: Re: Strange notation to create object | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217576@lists.php.net to get a copy of this message | ||
On 24/06/05, Jason Barnett <jason.barnett@telesuite.com> wrote:
> OK I'm pretty clear on it, but now I wonder: is variable assignment (=)
> the only place where the Zend Engine will copy a reference instead of
> reference the reference?
In PHP 4, function arguments work the same way. Unless you use the
reference operator & you will be working on a copy of the object.