Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21449 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63178 invoked by uid 1010); 9 Jan 2006 07:52:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63163 invoked from network); 9 Jan 2006 07:52:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2006 07:52:18 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:28764] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DC/82-19414-03612C34 for ; Mon, 09 Jan 2006 02:52:17 -0500 Received: (qmail 16405 invoked from network); 9 Jan 2006 07:52:12 -0000 Received: from localhost (HELO zeev-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 9 Jan 2006 07:52:12 -0000 Message-ID: <7.0.1.0.2.20060109095039.0c976db8@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Mon, 09 Jan 2006 09:52:13 +0200 To: Tim Starling Cc: internals@lists.php.net In-Reply-To: References: <31.AA.06465.0C74FB34@pb1.pair.com> <7.0.1.0.2.20060108171105.063406b0@zend.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] 16-bit reference count in PHP 4's zval From: zeev@zend.com (Zeev Suraski) 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