Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84783 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74032 invoked from network); 14 Mar 2015 20:31:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2015 20:31:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=pjsturgeon@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pjsturgeon@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: pjsturgeon@gmail.com X-Host-Fingerprint: 209.85.215.53 mail-la0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:35237] helo=mail-la0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/70-03391-9BA94055 for ; Sat, 14 Mar 2015 15:31:54 -0500 Received: by labjg1 with SMTP id jg1so13213542lab.2 for ; Sat, 14 Mar 2015 13:31:50 -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:content-transfer-encoding; bh=ndozIZuqnxsREnS4K1jPNQKh0oDeHD54RJB1mb8f4w4=; b=pD9oI1oWw8QJqGrv4cba8VA2CfIBcQENRvJyTl3t78y4y8RH75wPvQflVODFd6h85t L62NhzfhUyH/Vp+Oy8n3WHdtqGCGWPMRl/aris1fN3pZHmgIkRmd1xc1Izh1jdCv9mbL dGUVmyXL4T3ZQ4xgS8AQVosC9xxAZOy6gdpnnMvAuUZPKB8jtmm+sXQk5NmdHsfIX2Aq ybHpYwSCehwrJ3xzr3wFpfNpwKH3anCm5UN6Xdfl7GI2JX9lRTITn5QDt+RlTlVJqwNn ciyPAWFPUO7A1Hy08QtXP8o0AvF0QS20SpW1lXSLpI1xNYmOTjHKb4zM2OWnyon/rclA +6lw== MIME-Version: 1.0 X-Received: by 10.112.147.200 with SMTP id tm8mr47951075lbb.71.1426365110710; Sat, 14 Mar 2015 13:31:50 -0700 (PDT) Received: by 10.114.26.34 with HTTP; Sat, 14 Mar 2015 13:31:50 -0700 (PDT) In-Reply-To: References: Date: Sat, 14 Mar 2015 16:31:50 -0400 Message-ID: To: Bob Weinand Cc: =?UTF-8?Q?Pavel_Kou=C5=99il?= , Levi Morrison , internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC][PRE-VOTE] Reserving More Types in PHP 7 From: pjsturgeon@gmail.com (Philip Sturgeon) On Sat, Mar 14, 2015 at 7:38 AM, Bob Weinand wrote: >> Am 14.03.2015 um 10:21 schrieb Pavel Kou=C5=99il : >> >> On Saturday, March 14, 2015, Levi Morrison wrote: >>> RFC Link: https://wiki.php.net/rfc/reserve_more_types_in_php_7 >>> >>> The proposal has changed from the original. It no longer reserves the >>> aliases out of the interest of reserving the smallest useful, >>> uncontroversial subset. Some people want to remove aliases for these >>> types so in the interest of being as uncontroversial as possible I am >>> no longer proposing to remove them. >>> >>> This will go into voting on March 15th unless something comes up >>> between now and then to persuade me otherwise. >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> >> Hello, >> >> why do you consider a "true" and "false" as a type? It's not a type. it'= s a >> value? >> >> Regards >> Pavel Kouril > > These aren't types. But useful for e.g. union types (int|false). [By the = way they're internally handled as different types=E2=80=A6 but that's an im= plementation detail=E2=80=A6] > > Also, he doesn't call them anywhere types, it's just the title. > > Bob > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > This is a solid plan. Vote this and everyone should +1 it, so if this scalar squabble results in a a 0-0-0 score we can at least add scalars later. Regardless of scalar types it's just a good idea, and would give lolphp one less thing to pissmoan about. http://stackoverflow.com/questions/4103480/really-php-argument-1-passed-to-= my-function-must-be-an-instance-of-string-s