Re: [RFC][Vote] Typed Properties
| From: | Fleshgrinder | Date: | Wed, 25 May 2016 21:32:07 +0000 |
| Subject: | Re: [RFC][Vote] Typed Properties | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93534@lists.php.net to get a copy of this message | ||
On 5/25/2016 11:29 PM, Stanislav Malyshev wrote:
> OTOH, we do have precedent for properties that can not be unset -
> namely, static properties can not be unset. They can be nulled-out, of
> course, and they default to null. I have no idea how "static int $x;"
> would work though. The current RFC doesn't implement it, which
> definitely would be weird since people would expect if you can have
> typed object property, you can have typed static property, but that's
> not what the RFC says.
>
This was also a point that I found to be weird and I am absolutely sure
that this will cast confusion as you are.
--
Richard "Fleshgrinder" Fussenegger
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc