Re: [RFC][Vote] Typed Properties
| From: | Tom Worster | Date: | Fri, 20 May 2016 17:59:22 +0000 |
| Subject: | Re: [RFC][Vote] Typed Properties | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93423@lists.php.net to get a copy of this message | ||
On 5/20/16 2:05 AM, Joe Watkins wrote:
Morning internals,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. TomSince we have our answer on nullable types, typed properties can now goto vote.https://wiki.php.net/rfc/typed-properties#voteNote that, support for nullability as RFC'd will be merged when theimplementation for nullable_types is merged into master.Please participate.