Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82603 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93902 invoked from network); 13 Feb 2015 11:34:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 11:34:16 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 74.125.82.46 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 74.125.82.46 mail-wg0-f46.google.com Received: from [74.125.82.46] ([74.125.82.46:49671] helo=mail-wg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/26-62214-731EDD45 for ; Fri, 13 Feb 2015 06:34:16 -0500 Received: by mail-wg0-f46.google.com with SMTP id a1so16092472wgh.5 for ; Fri, 13 Feb 2015 03:34:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=ivPWyoGuwbm6a/r4FPTenj7xRtyqFvxve7mM0wVBa7E=; b=clNbWOwI0uMH/fGGLHEKEXDK7E0jNINvkax/g4ctH9FRX4Hnn00Fnn15lVbWblxaWs Zz48h9iC/WkVblnFbcejUn36ngdlhzGBXGZ4DZZnh7VoVnRJtBb9rT+KoNHj2f+x9H5w kGV4GjJqNecroKCgwviUWHkfM7/5aJDmpLGezAMB/nW/DdlIZ/2pbE3jUdOgM3pMW6bI scduddNmLidAz6aWj/eWmRSnE8r2yIDUhtstdB+9R6yZK04ZpJGReYjBSD2hNEp8hTRe uUe5+A9l8snPyLIs4HLfF4rl2q1k01ooC5w+zlq5RpQXjjGVDiscLTP7GmZvw4M3u5KS Fc7Q== X-Gm-Message-State: ALoCoQnhFaK9wQn/jQJqv0k90uiz7pC+YA66ItmajX//Fp0ZGvcbyaHN+gUBPlZcB05WULbpYRCYitmnO1bB6z7giryLNRBp2lbsdpiRoyr9GY50MR0hUvUwPB6LnpcNKh9yP6F0NBodUMbeYkHdQxnb1ccT3NsXNA== X-Received: by 10.180.198.240 with SMTP id jf16mr15379601wic.27.1423827252986; Fri, 13 Feb 2015 03:34:12 -0800 (PST) Received: from [10.204.107.118] ([2.54.153.111]) by mx.google.com with ESMTPSA id di11sm6591243wid.8.2015.02.13.03.34.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Feb 2015 03:34:11 -0800 (PST) Content-Type: multipart/alternative; boundary=Apple-Mail-61BA7AF0-BBF4-46E2-965A-3F474DF89DBD Mime-Version: 1.0 (1.0) X-Mailer: iPhone Mail (12B466) In-Reply-To: Date: Fri, 13 Feb 2015 13:34:09 +0200 Cc: Patrick ALLAERT , PHP Internals Content-Transfer-Encoding: 7bit Message-ID: <93453174-E6A8-47C6-8AB6-A08858A7FC05@zend.com> References: To: Andrea Faulds Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: zeev@zend.com (Zeev Suraski) --Apple-Mail-61BA7AF0-BBF4-46E2-965A-3F474DF89DBD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 13 =D7=91=D7=A4=D7=91=D7=A8=D7=B3 2015, at 13:13, Andrea Faulds wrote: >=20 > Hi, >=20 >> On 13 Feb 2015, at 09:37, Patrick ALLAERT wrote:= >>=20 >> Voted "no" because of the reasons already mentioned by a bunch of others h= ere. >>=20 >> Weak type hint as presented earlier: +1 (and very good job Andrea about t= hat!). >> declare(strict_types=3D1): -1, not only about the syntax, but also about t= he mixed mode it introduces. >>=20 >> I'm pretty confident that this RFC will "pass" with just above 2/3 of maj= ority while it could reach much more. >>=20 >> I am pretty sure that if this RFC doesn't include a strict type mode _the= way it is proposed_ (or even, not at all, as part of another related RFC), i= t would have some "no" converted to "yes" and would have a wider adoption, w= hich is for sure a better option than relying on a voting mechanism which st= ill is a supporting tool, we're not politicians after all :) >=20 > It wouldn=E2=80=99t have wider adoption. Excluding a large portion of the P= HP community (which favours strict types) and giving them something which do= esn=E2=80=99t work for their use cases (weak types) is not going to win any f= ans. Any fans? Really? How about we put it to a test instead of guessing the outcome? Zeev --Apple-Mail-61BA7AF0-BBF4-46E2-965A-3F474DF89DBD--