Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82063 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19571 invoked from network); 6 Feb 2015 19:42:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2015 19:42:01 -0000 Authentication-Results: pb1.pair.com header.from=francois@tekwire.net; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=francois@tekwire.net; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain tekwire.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@tekwire.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:30911] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/00-19086-70915D45 for ; Fri, 06 Feb 2015 14:42:00 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 43EBD4B0026; Fri, 6 Feb 2015 20:38:34 +0100 (CET) Reply-To: To: "'Dmitry Stogov'" Cc: "'Yasuo Ohgaki'" , "'Pierre Joye'" , "'Ivan Enderlin @ Hoa'" , "'PHP Internals'" References: <54D37D41.2030706@hoa-project.net> <54D470FA.6000303@hoa-project.net> <02d301d041f3$0c5f3990$251dacb0$@tekwire.net> <031501d04217$b393bff0$1abb3fd0$@tekwire.net> In-Reply-To: Date: Fri, 6 Feb 2015 20:41:49 +0100 Message-ID: <034901d04244$f40ebbc0$dc2c3340$@tekwire.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: AQGgxP9HPTh52uHWkGo6jLSeXRdtNAG/QBJNAaMNlcwCFsMP6wB6oLwcArkn1nkCRuYlGQKZuynVAgb/bP0CSk73+Zy0CBlQ Content-Language: fr X-Antivirus: avast! (VPS 150205-1, 05/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] Design by Contract From: francois@tekwire.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) Hi Dmitri, Yes, unfortunately, PHP features not compatible with the PHP 5 = interpreter will be harder to adopt for most developers, even if they = are not technically BC breaks. I agree with your POV, as I now think that it shouldn't be included in = the core, provided we have the needed hooks. I explain the hooks we need = in the draft RFC. Can you tell me if it seems possible to you ? Fran=C3=A7ois > De : Dmitry Stogov [mailto:dmitry@zend.com]=20 >I see your point, and, of course, it makes sense, but it also means = that no new PHP7 features might not be used in these >frameworks and = libraries for a long time. Should we stop add new features in major = releases? >As I said, according to DbC, I'm not sure if it should be defined on = language level. Doc comments or annotations with external >tools might = be good enough.