Re: [PHP-DEV] Asymmetric visibility Reflection API problems

2024-10-04 Thread Ilija Tovilo
Hi Valentin Thank you for bringing up your concerns. On Thu, Oct 3, 2024 at 3:32 PM Valentin Udaltsov wrote: > > We are going to talk about the asymmetric visibility RFC [2] and the > new `ReflectionProperty::is(Private|Protected)Set()` > methods. Consider a class and reflected facts about it's

Re: [PHP-DEV] Asymmetric visibility Reflection API problems

2024-10-04 Thread Tim Düsterhus
Hi This thread is a good example why RFCs with a large impact should ideally be implemented well in advance of feature freeze. Am 2024-10-03 15:32, schrieb Valentin Udaltsov: Here's why it works this way. Internally properties with symmetric visibility do not have an asymmetric flag. That is