Re: RE: PHP 4.0 Bug #6193 Updated: new object makes a shallow copy
| From: | Stanislav Malyshev | Date: | Fri, 18 Aug 2000 19:03:27 +0000 |
| Subject: | Re: RE: PHP 4.0 Bug #6193 Updated: new object makes a shallow copy | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-29500@lists.php.net to get a copy of this message | ||
HD>> The change:
HD>> 1.) The new constructor always returns references or alternatelly
HD>> we would need a syntax like &new
HD>> 2.) The assignment operator handles references as references not
HD>> as the value of the reference.
Sorry, you misunderstand what references are in PHP. The are not like
pointers in C. Not even close.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665 ext.106