On 12 September 2021 00:28:02 BST, David Rodrigues <david.pro...@gmail.com> wrote: >Hello! > >I would like to suggest a feature I saw being implemented in the V8 9.4 >engine called "*class static initialization block*".
Hi David, There was a similar proposal for PHP a few years ago: https://wiki.php.net/rfc/static_class_constructor Although it didn't go to a vote, the proposal was dropped for lack of support. There's some discussion summarised in that RFC, and you can probably find the rest by searching for its title on https://externals.io Regards, -- Rowan Tommins [IMSoP] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php