Re: 16-bit reference count in PHP 4's zval
| From: | Zeev Suraski | Date: | Mon, 09 Jan 2006 07:52:13 +0000 |
| Subject: | Re: 16-bit reference count in PHP 4's zval | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21449@lists.php.net to get a copy of this message | ||
At 00:00 09/01/2006, Tim Starling wrote:
Zeev Suraski wrote: Tim, Your analysis was correct until the last sentence - PHP surely does support arrays with more than 64K entries. It just doesn't support the same entry being linked from more than 64K locations (which is much, much more rare occurrence). Well yes, I was just stirring. It's more common than you might think though.I'm not saying that it's four-leafed clover, just that it's significantly more rare than plain arrays that contain 64K (different) entries... We did decide to increase the refcount size in PHP 5, but as Marcus said, releasing a binary-compat-breaking version of 4 at this stage is pretty much out of the question. Zeev