On 21.06.2021 at 17:53, Marco Pivetta wrote: > On Sun, Jun 13, 2021 at 6:44 PM Marco Pivetta <ocram...@gmail.com> wrote: > >> 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).
Given that private constants and static properties already can be accessed right away, I'm in favor of this RFC. -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php