Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65582 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1112 invoked from network); 3 Feb 2013 20:04:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2013 20:04:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.178 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.210.178 mail-ia0-f178.google.com Received: from [209.85.210.178] ([209.85.210.178:57012] helo=mail-ia0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9B/C1-22879-0D2CE015 for ; Sun, 03 Feb 2013 15:04:33 -0500 Received: by mail-ia0-f178.google.com with SMTP id y26so7259042iab.37 for ; Sun, 03 Feb 2013 12:04:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=4FtpNZRPk4K1hr92u7i8Uis7Ub9s53JA+KiC65ssAJE=; b=qMRjb23remQq7tZPbSVNlBbCgUSYv5JCRfU0QhpsUXZU58hfXO6H+yrzK3fVRdXefo pAGaA9LGFoOO1ufaeq8a4Jhnv7gLRscvvT5+QvR37mfD3zz2cSLwO/tY8iH6P6FhF3Kq Qjqm4HCtcPslNNo8L8MpJ2luzPhcUXy+j7CGjjd1jDEHhvw3BSRHb1H9GQ8fr+Crdm+K EuJAl2xYnckul2YFtQBl8xFvg7VJY6M3pltmF8GWJiIP3mGyE3i4JtIATPu8V8CvzjAk k623TE5MfMDic8UNiNG9D1VdlryM/iWVk4aaIR+NSFNgfrvFQFIupiOvwBEwXGHtW0f8 L2Gw== MIME-Version: 1.0 X-Received: by 10.50.7.234 with SMTP id m10mr3493625iga.43.1359921869849; Sun, 03 Feb 2013 12:04:29 -0800 (PST) Received: by 10.50.106.138 with HTTP; Sun, 3 Feb 2013 12:04:29 -0800 (PST) In-Reply-To: References: Date: Sun, 3 Feb 2013 21:04:29 +0100 Message-ID: To: Karoly Negyesi Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d04462dd4f985e904d4d77be3 Subject: Re: [PHP-DEV] Proposal for serious BC compatibility aka language versioning From: tyra3l@gmail.com (Ferenc Kovacs) --f46d04462dd4f985e904d4d77be3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Feb 3, 2013 at 8:44 PM, Karoly Negyesi wrote: > Well, either I misunderstood the policy or it's broken. Here are some > (note: please do not argue whether these are more correct than before, > they very well might be but they broke backwards compatibility): > > For example, in 5.4 array_diff_assoc began to throw a notice when > casting to string. > > Again in 5.4, using a string offset against a string throws a warning. > It wasn't doing that before. > > If you want I can dig around in our issue queue for more backwards > compatibility breaks but there are some. > > Regards, > > Karoly Negyesi > > As Rasmus mentioned before our current release policy allows warnings/etc. to be added in a minor release. If this is the same test that you mentioned before on irc, then one could argue that this change was useful as it helped you spot and error in you testsuite (comparing a multi-dimensional array using array_diff_assoc which not comparing the arrays but the string "Array". --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --f46d04462dd4f985e904d4d77be3--