Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81170 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25548 invoked from network); 26 Jan 2015 19:14:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2015 19:14:52 -0000 X-Host-Fingerprint: 78.192.130.122 jav75-2-78-192-130-122.fbxo.proxad.net Received: from [78.192.130.122] ([78.192.130.122:28532] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/00-25415-A2296C45 for ; Mon, 26 Jan 2015 14:14:51 -0500 Message-ID: To: internals@lists.php.net Date: Mon, 26 Jan 2015 20:14:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 78.192.130.122 Subject: Dort behaviour change on php7 master From: pascal.chevrel@free.fr (Pascal Chevrel) Hi all, I just compiled master to test my main application and the good news is that I have no functional regression and some of the views get a considerable speed up (like, page generation divided by two!). I had one unit test failing and I reduced that to a simple testcase that I put there: http://3v4l.org/4tGv6 Sorting in php master in this specific case is now different on PHP 7 than on 5.3-5.6 (and actually different than PHP 7 at the beginning of the month). The sorting order is now the same as HHVM. I think the HHVM behaviour makes more sense in this case as I don't see why the resulting array should be reversed in this sorting case where all lengths are equal, but on the other hand the current behaviour is probably 10 years old and maybe it could cause bigger problems in other apps than a unit test to update. Just that you know, in case it matters. Cheers Pascal