Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41904 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14350 invoked from network); 13 Nov 2008 18:41:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Nov 2008 18:41:22 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.116 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.116 us-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [63.205.162.116] ([63.205.162.116:26767] helo=us-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 18/8D-07308-1D47C194 for ; Thu, 13 Nov 2008 13:41:21 -0500 Received: from [192.168.16.110] ([192.168.16.110]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 13 Nov 2008 10:41:27 -0800 Message-ID: <491C74D7.4010902@zend.com> Date: Thu, 13 Nov 2008 10:41:27 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Sean Coates CC: Lukas Kahwe Smith , Felipe Pena , Geoffrey Sneddon , PHP Internals References: <4900DB81.4000805@zend.com> <4900E150.1010607@dynom.nl> <49018FC3.90302@gmail.com> <1224854888.19390.89.camel@goldfinger.johannes.nop> <490609A1.7090400@gravitonic.com> <1225199800.878.0.camel@localhost> <3F3445975B55414BB4A214B32E178657@pc> <4A4FE9BC-F000-4AEE-A68C-8EFEA9DCD154@pooteeweet.org> <4910D3E5.4020406@zend.com> <237D5067-10C6-4D25-8CCF-FEF9FE44F6F6@googlemail.com> <1225973406.5465.18.camel@felipe> <491C6FAF.104@zend.com> <0FECD85E-E9C0-4F7E-8D25-CB6F9532AC5F@caedmon.net> In-Reply-To: <0FECD85E-E9C0-4F7E-8D25-CB6F9532AC5F@caedmon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Nov 2008 18:41:27.0632 (UTC) FILETIME=[6FF75500:01C945BF] Subject: Re: [PHP-DEV] array_key_exists BC break From: stas@zend.com (Stanislav Malyshev) Hi! > This isn't the type of thing that I would naturally expect to find > broken in a .x release, so if we can preserve the old behaviour with > little to no penalty, I suggest we go for that. I'm not sure we can while preserving new API - since old API gave much more wiggle room to particular function - you get zval** and do whatever you want. We could convert them to use 'z' and then parse it into arrays but I think that would be cheating. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com