Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82241 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75762 invoked from network); 9 Feb 2015 08:34:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2015 08:34:51 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.169 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.169 mail-qc0-f169.google.com Received: from [209.85.216.169] ([209.85.216.169:54777] helo=mail-qc0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/D4-50460-A2178D45 for ; Mon, 09 Feb 2015 03:34:51 -0500 Received: by mail-qc0-f169.google.com with SMTP id b13so21400630qcw.0 for ; Mon, 09 Feb 2015 00:34:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=dJr/8Q/kySsJRvJ1NwK/fSI7KRyrySyCGGH6UtH51RY=; b=abqlMos7WN7S0IPZV9QstIz6biw7QmYeSiPU/+NcORFzU9TJhjxiPPqW+ThU7M3z1t jvXwH2iSN6t4eXUA4QG0ZLxGP7DJMjpxRc9ocmFe/INiTNRIKwVLPr6X9x+r/CYi/ozK CPWS4Uw32jU0lfjvruvgkqdsBT+8rraAbYH8FT4yf8cp02r7f6MVoVILfnWBhVqG1oLf IOxNLkJtUieWqoaDubv973TAXPNLml7Y4/4oMlkbDbgeX2qnYkiVqllVW4xQB0ILqUMv I1A+ZH2XFRfx2B9U+jQ7FhNX68zGcqp8ajo+8K+NkFwXLfTEo7YVxyDJznsl/6e2ehHA Tiig== MIME-Version: 1.0 X-Received: by 10.140.102.165 with SMTP id w34mr38158713qge.26.1423470887893; Mon, 09 Feb 2015 00:34:47 -0800 (PST) Received: by 10.96.185.37 with HTTP; Mon, 9 Feb 2015 00:34:47 -0800 (PST) In-Reply-To: References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54D5659D.5000602@php.net> <54D7A6DB.3050209@seld.be> <0a344270616df2c33c8a1f5db2df08a0@mail.gmail.com> Date: Mon, 9 Feb 2015 15:34:47 +0700 Message-ID: To: =?UTF-8?Q?Pavel_Kou=C5=99il?= Cc: Dmitry Stogov , Matthew Leverton , Zeev Suraski , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: pierre.php@gmail.com (Pierre Joye) On Mon, Feb 9, 2015 at 3:30 PM, Pavel Kou=C5=99il wrot= e: > On Mon, Feb 9, 2015 at 9:22 AM, Pierre Joye wrote: >> >> >> I am not saying I want one or the other (I have voted and now only >> focus on solving possible tech issues we may find) but trying to be >> fair with Andrea's RFC and amazing effort: >> >> What you ask is basically part of the RFC already, your code can be >> strict free if you wish to, or it will be by default. Only issue is >> the massive misunderstanding behind the declare(strict) thing. >> >> Cheers, >> Pierre > > I'm not saying one or the other - I mean two votes, one for the > "basic" weak typing and if it passes, then vote for adding the > declareable optional strict typing. Now it is unfortunately "both or > neither". because you have both already. Your code is not affected unless you use strict=3D1, even if the libs your code relies on actually use strict=3D1. In other words, this RFC proposes both worlds in one shot. I see the votes for two as redundant or killing the root idea behind this RFC. Cheers, --=20 Pierre @pierrejoye | http://www.libgd.org