Re: [RFC] make Reflection*#setAccessible() no-op
Hey folks,
On Sun, Jun 13, 2021 at 6:44 PM Marco Pivetta <ocramius@gmail.com> wrote:
> Hey folks,
>
> I'm posting here to introduce a new simplification, as well as
> quality-of-life-improving RFC:
>
> https://wiki.php.net/rfc/make-reflection-setaccessible-no-op
>
> The RFC is quite minimal, and proposes removing any runtime behavior from
> ReflectionMethod#setAccessible() and
> ReflectionProperty#setAccessible(), making ReflectionMethod and
> ReflectionProperty accessible by default.
>
Since feedback has been relatively minimal and positive, I will likely
start voting tomorrow, since I don't want trouble with any upcoming 8.1
deadline (plus I'll otherwise just forget).
Greets,
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/
Thread (6 messages)