Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83638 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20862 invoked from network); 24 Feb 2015 07:37:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2015 07:37:33 -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:43851] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/52-09240-B3A2CE45 for ; Tue, 24 Feb 2015 02:37:32 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 9CE744B014A; Tue, 24 Feb 2015 08:37:15 +0100 (CET) Reply-To: To: "'Anthony Ferrara'" , "'Zeev Suraski'" Cc: "'Benjamin Eberlei'" , "'PHP internals'" References: <7ef509ef10bb345c792f9d259c7a3fbb@mail.gmail.com> <9aec85c81b49009c6238ff6d8be27cd4@mail.gmail.com> <2dcfd9f4a3f0f9bbf2a13f679359e6ea@mail.gmail.com> <6844321d7134506b1061c5f18a275069@mail.gmail.com> In-Reply-To: Date: Tue, 24 Feb 2015 08:37:25 +0100 Message-ID: <082401d05004$bc314060$3493c120$@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: AQKcPg+jpyYspJS11b5G1A7RBHpKTgIs5D7XAe7Kvi4CGebHCAJMMZoCAoqDIoMBjxhKrQKJLKIhAM+qbcsB+3/aHZrYB+gg Content-Language: fr X-Antivirus: avast! (VPS 150223-1, 23/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] Coercive Scalar Type Hints RFC From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Anthony Ferrara [mailto:ircmaxell@gmail.com] > > The first thing, PHP's own phar generator included in the make file > fails due to the new restricted hints (based on the patch provided). > (I had to rebuild with --disable-phar to get it to build). >=20 > Let me make that perfectly clear: under these changes you cannot do a > default compile of PHP due to BC breaks. Wrong point. In this case, restrictions don't break existing code, but = allow detecting a bug (SplFileInfo(NULL)). The PR comment explains this already. > So yeah, to say "major BC issues" is the literal definition of an > understatement. I'm not sure, as it seems all these errors are probably coming from 2 = bugs in symfony code. And don't tell me sending a bool as first arg to = strpos() is not a bug. So, we're just helping them to find bugs in their = code. Nothing so terrible, imo. Additionaly, in the final implementation, these errors will be generated = as E_DEPRECATED, which will make it much more clear for the developer. Regards Fran=C3=A7ois