On Wed, Mar 15, 2023, 14:02 Ilija Tovilo <tovilo.il...@gmail.com> wrote:
> Hi everybody > > It's been a while since I've announced this RFC. > https://wiki.php.net/rfc/arbitrary_static_variable_initializers > https://externals.io/message/118976 > > There haven't been many responses, so I'd like to put this to a vote > early next week. > > Only a small thing in the example for "ReflectionFunction::getStaticVariables()" section. I expect the third var_dump to print 1 also since the static statement is not going to be executed again when calling foo(2). Am I wrong? Regards, Alex