Re: [PHP-DEV] Class static initialization block

2021-09-11 Thread Marco Pivetta
Hey David, On Sun, 12 Sep 2021, 01:28 David Rodrigues, wrote: > Hello! > > I would like to suggest a feature I saw being implemented in the V8 9.4 > engine called "*class static initialization block*". > > https://v8.dev/blog/v8-release-94 > > In short, it is a method that is executed once when

[PHP-DEV] Class static initialization block

2021-09-11 Thread David Rodrigues
Hello! I would like to suggest a feature I saw being implemented in the V8 9.4 engine called "*class static initialization block*". https://v8.dev/blog/v8-release-94 In short, it is a method that is executed once when a class is imported and loaded, allowing for some more advanced

Re: [PHP-DEV] DateTimeZone silently falls back to UTC when providing seconds

2021-09-11 Thread Benjamin Morel
> > >Before doing so, shouldn't we discuss whether it makes sense to accept > >a > >time-zone offset with seconds, when the granularity seems to be 15 > >mins? > > > >https://en.wikipedia.org/wiki/List_of_UTC_time_offsets > > > >— Benjamin > > No need. Early timezone offsets in the timezone