Re: [PHP-DEV] RFC - ReflectionProperty calls __get methods

2017-07-19 Thread Marco Pivetta
On Wed, Jul 19, 2017 at 9:53 AM, Bartłomiej Krukowski < krukowski.bartlom...@gmail.com> wrote: > Hello, > > Class *ReflectionProperty* allows to get access to private properties in > library. Unfortunately there is one unexpected (or at least undocumented) > case - *ReflectionProperty* tries execu

[PHP-DEV] RFC - ReflectionProperty calls __get methods

2017-07-19 Thread Bartłomiej Krukowski
Hello, Class *ReflectionProperty* allows to get access to private properties in library. Unfortunately there is one unexpected (or at least undocumented) case - *ReflectionProperty* tries execute *__call* method. In my opinion this approach is bad, because method *__call* can change state of appli