Re: [RFC] make Reflection*#setAccessible() no-op

From: Date: Mon, 21 Jun 2021 15:53:56 +0000
Subject: Re: [RFC] make Reflection*#setAccessible() no-op
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-114979@lists.php.net to get a copy of this message
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)

« previous php.internals (#114979) next »