Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42021 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93018 invoked from network); 23 Nov 2008 11:27:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Nov 2008 11:27:47 -0000 Authentication-Results: pb1.pair.com header.from=Johannes.Schlueter@Sun.COM; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 192.18.6.21 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 192.18.6.21 gmp-eb-inf-1.sun.com Solaris 10 (beta) Received: from [192.18.6.21] ([192.18.6.21:47059] helo=gmp-eb-inf-1.sun.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/A3-64083-82E39294 for ; Sun, 23 Nov 2008 06:27:46 -0500 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe2.eu.sun.com [192.18.6.11]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id mANBRXvW026306 for ; Sun, 23 Nov 2008 11:27:33 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0KAS00N01A690I00@fe-emea-09.sun.com> (original mail from johannes@php.net) for internals@lists.php.net; Sun, 23 Nov 2008 11:27:33 +0000 (GMT) Received: from [192.168.1.103] ([93.104.99.5]) by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0KAS00HB7AFZMU20@fe-emea-09.sun.com>; Sun, 23 Nov 2008 11:26:33 +0000 (GMT) Date: Sun, 23 Nov 2008 12:26:19 +0100 In-reply-to: <492716F2.7040502@zend.com> Sender: Johannes.Schlueter@Sun.COM To: Stanislav Malyshev Cc: Felipe Pena , Lukas Kahwe Smith , PHP Internals Message-ID: <1227439579.3043.13.camel@goldfinger.johannes.nop> MIME-version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-type: text/plain Content-transfer-encoding: 7BIT 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> <492716F2.7040502@zend.com> Subject: Re: [PHP-DEV] array_key_exists BC break From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Fri, 2008-11-21 at 12:15 -0800, Stanislav Malyshev wrote: > Attached is the patch that should restore BC for all those functions > except sorts and array_unique/array_flip (these should be trivial too > but I still thing their support for objects is just a bug). Please tell > if you are using those (ones not BCed) in any meaningful scenario on > objects. > > This is done by having 'a' and 'h' specifiers have sister ones 'A' and > 'H' that would accept objects if those have working HASH_OF. I have > opted out for new letters and not sign since signs currently used for > generic modifiers (like "separate it") and object-array relation is not > generic. > Any comments? Only one comment: Could you please update README.PARAMETER_PARSING, too? Thanks! johannes