Re: important bug, please read
| From: | Stanislav Malyshev | Date: | Mon, 30 Oct 2000 16:50:52 +0000 |
| Subject: | Re: important bug, please read | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-36454@lists.php.net to get a copy of this message | ||
AL>> don╢t do that!!! that╢s what we (including you) are fighting against,
AL>> "reference to..." is evil :)
AL>> why not simlply
AL>>
AL>> array(3) {
AL>> [0]=> int{&1}(1)
AL>> [1]=> int(2)
AL>> [3]=> int{&1} }
AL>>
AL>> only variables with ref_count>1 will be attached on {} index thing and
No good. Refcount for variable can have arbitrary values in given
point. Think copy-on-write. Lots of it.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106