Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85183 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9140 invoked from network); 18 Mar 2015 11:42:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Mar 2015 11:42:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrickallaert@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:37139] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/83-22462-8B469055 for ; Wed, 18 Mar 2015 06:42:49 -0500 Received: by wixw10 with SMTP id w10so37216150wix.0 for ; Wed, 18 Mar 2015 04:42:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=4AdL6JLJn2GAbrJyAZ2eyyPvSkGA2fSicRMQjQWeiMY=; b=d8TRjWfu9Ek9BelewRWNCyUjGe5ivNverZjd5tNUoeIWCDhsmCeTPqboTg5+jlrkYJ PugZNh/lOdCgp34yHBKMIPJdMur0aJOcHu2xxZ1pwD8cimA+oXkO68HgjyvGe8yIx4hq b6NF8ql56rf1jhjgXkHNM904GP2SrYFZXNKFfaN7LAvChoO9gVv7InxcyRPCNEEen1HP MF2k9Pk10xN4X5oVzo0ujZmIqeWb7wdqK+EPupFNS57oQwpI/xf6GIdZujIRSy/dalFh 3qhMYHA7j1qj8ez++wYczhQ65PrnXkJZVPfG81VONu8zPIsdEBGwixz65DXcDmHXkBt3 +I1A== X-Received: by 10.194.236.200 with SMTP id uw8mr137761351wjc.10.1426678965001; Wed, 18 Mar 2015 04:42:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 18 Mar 2015 11:42:44 +0000 Message-ID: To: Matthew Leverton , Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e01493f60eae3d605118e94a5 Subject: Re: [PHP-DEV] "strict_types" should be renamed "raise_type_error". WAS: About declare(strict_types = 1) From: patrickallaert@php.net (Patrick ALLAERT) --089e01493f60eae3d605118e94a5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 --089e01493f60eae3d605118e94a5--