RE: [PHP-DEV] Re: Confusing pointers in PHP 4 and 5
| From: | Stephan Schmidt | Date: | Wed, 09 Jun 2004 08:21:27 +0000 |
| Subject: | RE: [PHP-DEV] Re: Confusing pointers in PHP 4 and 5 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10334@lists.php.net to get a copy of this message | ||
Hi,
> I think, and I could be completely wrong, that copying a
> variable actually
> creates a reference. The data is only copied when the
> variable referenced is
> modified.
Yes, that is correct.
Stephan