[RFC] Typed Properties

From: Date: Wed, 20 Jun 2018 21:59:33 +0000
Subject: [RFC] Typed Properties
Groups: php.internals 
Request: Send a blank email to internals+get-102333@lists.php.net to get a copy of this message
Hi internals, Bob and I would like to present a new typed properties proposal for your consideration: https://wiki.php.net/rfc/typed_properties_v2 The proposal allows you to annotate properties with types, which are enforced at runtime. Unlike the previous RFC on this topic, the new proposal also supports typed static properties and references to typed properties. Please note that next to the main body, the RFC also contains an "Alternatives" section, which explores the problem space and considers trade-offs of different behaviors in some detail. Finally, while this RFC currently targets PHP 7.3, this is a large and complex proposal and we may not be able to meet the deadline, in which case this feature will go into the next PHP version. Regards, Nikita

« previous php.internals (#102333) next »