Re: [RFC][Vote] Typed Properties

From: 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,
    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

« previous php.internals (#93423) next »