Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81927 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93707 invoked from network); 5 Feb 2015 13:53:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2015 13:53:59 -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:13312] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/5D-27691-6F573D45 for ; Thu, 05 Feb 2015 08:53:59 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 14FD34B01B9; Thu, 5 Feb 2015 14:50:36 +0100 (CET) Reply-To: To: "'Dmitry Stogov'" Cc: "'Yasuo Ohgaki'" , "'PHP Internals'" References: <01d601d04146$6fbda4c0$4f38ee40$@tekwire.net> In-Reply-To: Date: Thu, 5 Feb 2015 14:53:49 +0100 Message-ID: <020c01d0414b$2c3a1120$84ae3360$@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: AQGgxP9HPTh52uHWkGo6jLSeXRdtNAIuYisqAXiAI4qdI9OQwA== Content-Language: fr X-Antivirus: avast! (VPS 150204-1, 04/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?=) De : Dmitry Stogov [mailto:dmitry@zend.com]=20 > Yeah, this may work. > The only problem, that it looks not native and defines additional = language for constraints. > I don't talk it's wrong. Both approaches may make sense, but of = course, we have to select one. Yes, it makes phpdoc more tied to the engine but is it a problem ? I think BC is essential here. If people need to write PHP7-specific = code, we'll loose them. And remember : we already have tons of code with documented = argument/return types ready for DbC checks. Fran=C3=A7ois