[RFC] <<Deprecated>> Attribute
| From: | Benjamin Eberlei | Date: | Thu, 07 May 2020 07:21:57 +0000 |
| Subject: | [RFC] <<Deprecated>> Attribute | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-110055@lists.php.net to get a copy of this message | ||
Hi everyone,
The attributes RFC specifically looked into the use of attributes at the
engine/compiler level.
To have a showcase of this with the 8.0 release I want to propose this RFC
for a <<Deprecated>> attribute:
https://wiki.php.net/rfc/deprecated_attribute
<<Deprecated>> is the most obvious engine attribute to add at the beginning
in my opinion, as
- all other languages with Attributes/Annotations support have it as well
- its effects are quite obvious to understand, as such offer a good example
and intro to attributes
- with potential property/class constant deprecation it adds something that
was not possible in userland before.
Let me know what you think!
greetings
Benjamin