Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85184 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12588 invoked from network); 18 Mar 2015 11:57:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Mar 2015 11:57:22 -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.192.45 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.45 mail-qg0-f45.google.com Received: from [209.85.192.45] ([209.85.192.45:36279] helo=mail-qg0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/44-22462-02869055 for ; Wed, 18 Mar 2015 06:57:21 -0500 Received: by qgf3 with SMTP id 3so33893483qgf.3 for ; Wed, 18 Mar 2015 04:57:17 -0700 (PDT) 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; bh=nndV2ImpDUBP3+JmCP2PEPiaX44JEnqb6Z7l4rhS6ak=; b=dbyrulU8Zs3bsQAQ9N9Eq068dyQwyM5pRimECTjbD/yX+yJwEDVovt8Ezew0rNxqWA GZ0mXaQRD6Yxx6y5xJ16eG1ud5AyutfxojaOPY0UsB5cJiRaNUyPdd9qZCy88YaRea6n mk9kV3St4qLSL2cokrmoLNz1e8Lg9vajtUgkfGwM9NL7Dy0NoP8V4bTscPF+sQhNzHxq PURJDobSCLFF+aGvj8NQ6k5OXjbBLsdu/Yqw3v8UZo7Y5AB4vrjaAxD0vFOvz/aTeBZL Ias2tjuzQOYDtgMgUoPao0cnkAWfVTxqh/LgEnmgpqvSjRmghWebE9ux5pjNHii1ub5I rhdg== MIME-Version: 1.0 X-Received: by 10.55.19.159 with SMTP id 31mr96365649qkt.24.1426679837765; Wed, 18 Mar 2015 04:57:17 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Wed, 18 Mar 2015 04:57:17 -0700 (PDT) Received: by 10.96.39.195 with HTTP; Wed, 18 Mar 2015 04:57:17 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Mar 2015 22:57:17 +1100 Message-ID: To: Patrick ALLAERT Cc: PHP internals , Yasuo Ohgaki , Matthew Leverton Content-Type: multipart/alternative; boundary=001a113ffb46f035ea05118ec8d6 Subject: Re: [PHP-DEV] "strict_types" should be renamed "raise_type_error". WAS: About declare(strict_types = 1) From: pierre.php@gmail.com (Pierre Joye) --001a113ffb46f035ea05118ec8d6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mar 18, 2015 6:42 PM, "Patrick ALLAERT" wrote: > > Le lun. 16 mars 2015 =C3=A0 21:34, Matthew Leverton = a > =C3=A9crit : > > > (Although the irony of using =3D1 instead of =3Dtrue isn't lost on me!) > > > > Yes, I mentioned[1] that funny aspect earlier. > > 0 or 1 is explicitly required in order to update the boolean behind it > while true/false generates a fatal error with "strict_types declaration > must have 0 or 1 as its value". > > [1] https://twitter.com/patrick_allaert/status/568167144363560961 Ok. You do not like this RFC, we get it. Now, what's about actually being constructive and if you find bug (and please under the context of this RFC and how it works) please report a bug so it can be fixed. --001a113ffb46f035ea05118ec8d6--