Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93423 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4565 invoked from network); 20 May 2016 17:59:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 May 2016 17:59:32 -0000 Authentication-Results: pb1.pair.com header.from=fsb@thefsb.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=fsb@thefsb.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thefsb.org designates 173.203.187.67 as permitted sender) X-PHP-List-Original-Sender: fsb@thefsb.org X-Host-Fingerprint: 173.203.187.67 smtp67.iad3a.emailsrvr.com Linux 2.6 Received: from [173.203.187.67] ([173.203.187.67:46308] helo=smtp67.iad3a.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/F1-23824-3805F375 for ; Fri, 20 May 2016 13:59:32 -0400 Received: from smtp9.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp9.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id D0C36381461; Fri, 20 May 2016 13:59:28 -0400 (EDT) X-Auth-ID: fsb@thefsb.org Received: by smtp9.relay.iad3a.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id B516A381453; Fri, 20 May 2016 13:59:28 -0400 (EDT) X-Sender-Id: fsb@thefsb.org Received: from yossy.local (c-66-30-62-12.hsd1.ma.comcast.net [66.30.62.12]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:587 (trex/5.5.4); Fri, 20 May 2016 13:59:28 -0400 To: Joe Watkins , PHP internals , Phil Sturgeon References: Message-ID: <3df2a206-3bcc-df58-5f54-6047eb59bfa3@thefsb.org> Date: Fri, 20 May 2016 13:59:22 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [RFC][Vote] Typed Properties From: fsb@thefsb.org (Tom Worster) On 5/20/16 2:05 AM, Joe Watkins wrote: > Morning internals, > > Since we have our answer on nullable types, typed properties can now go > to vote. > > https://wiki.php.net/rfc/typed-properties#vote > > Note that, support for nullability as RFC'd will be merged when the > implementation for nullable_types is merged into master. > > Please participate. I lack suffrage but I have a question about coercion and strictness. When I assign a value to a property declared with scalar type, is it the strictness of the file containing the assignment that controls if coercion happens or not? And is the strictness of the file containing the declaration irrelevant? I guess yes on both to be consistent with coercion on function invocation but I couldn't find this mentioned in the RFC. Tom