Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83627 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90432 invoked from network); 24 Feb 2015 04:18:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2015 04:18:00 -0000 Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:30155] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/70-20131-87BFBE45 for ; Mon, 23 Feb 2015 23:18:00 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id B6FA24B0140; Tue, 24 Feb 2015 05:17:44 +0100 (CET) Reply-To: To: "'Pierre Joye'" , "'Zeev Suraski'" Cc: "'Anthony Ferrara'" , "'PHP internals'" Date: Tue, 24 Feb 2015 05:17:54 +0100 Message-ID: <081001d04fe8$dcbc0160$96340420$@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdBP5wC84/PrnoTeQdebraI8BXknHQ== Content-Language: fr X-Antivirus: avast! (VPS 150223-1, 23/02/2015), Outbound message X-Antivirus-Status: Clean Subject: [PHP-DEV] Coercive Scalar Type Hints RFC - BC breaks From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) Hi, I ran the PHP core 'make test' on a basic configuration, still running a = significant number of 8785 tests. Note: the restrictions on numeric string conversions (leading = chars/zeroes, trailing chars) are not simulated yet, but they shouldn't = change the results very much. The ruleset corresponding to the coercive RFC, as it is published today, = globally broke 7.3% of tests. From these 7.3%, 5.3% correspond to the = disabled conversions from null to scalar types, which will probably have = to be reintroduced, as it was suspected. So, if we consider that these = conversions are re-enabled, the resulting coercive ruleset breaks 1.9% = of the tests, which is rather positive, IMO, because there is still room = for improvements. More details soon. Regards Fran=C3=A7ois