[PHP-DEV] Travis CI migration?

2021-01-01 Thread Stanislav Malyshev
Hi! Today I noticed the message on travis-ci.org: Please be aware travis-ci.org will be shutting down in several weeks, with all accounts migrating to travis-ci.com. Please stay tuned here for more information. As far as I know, our repo is still not migrated. Anybody looked into it? Also,

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2021-01-01 Thread Olle Härstedt
2021-01-01 19:14 GMT, Larry Garfield : > On Thu, Dec 31, 2020, at 8:04 AM, Olle Härstedt wrote: >> 2020-12-31 12:37 GMT, Rowan Tommins : > >> > On 30/12/2020 18:42, Olle Härstedt wrote: >> >>> To put it a different way, value types naturally form*expressions*, >> >>> which mutable objects model

[PHP-DEV] Does PHP ever stack allocate?

2021-01-01 Thread Olle Härstedt
Or is everything reference counted with heap allocation? Since PHP has escape analysis, this could be used to use the stack instead, and kill the memory when the scope ends. If PHP uses the stack, can this be seen in the opcode? This stackoverflow thread does not really answer my question.

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2021-01-01 Thread Paul M. Jones
> On Jan 1, 2021, at 13:14, Larry Garfield wrote: > >> The web dev discourse is one-sided with regard to immutability, > > Yes, if you've heard any of the regular whining about PSR-7 being an > immutable object you'd think it's one-sided in favor of mutability. To characterize it as

Re: [PHP-DEV] [RFC] Enumerations, Round 2

2021-01-01 Thread Larry Garfield
On Fri, Jan 1, 2021, at 12:08 PM, Benjamin Eberlei wrote: > On Mon, Dec 28, 2020 at 9:22 PM Larry Garfield > wrote: > > > Hello, Internalians! > > > > After considerable discussion and effort, Ilija and I are ready to offer > > you round 2 on enumerations. This is in the spirit of the previous

Re: [PHP-DEV] Re: Improving PRNG implementation.

2021-01-01 Thread Go Kudo
Hi Marc, and sorry for the late reply. Email has been marked as spam... > I would expect the Random number generator to implement from Iterator using an integer for current() value > and providing utility functions (simple functions or methods of another class) for shuffle, random array entry

Re: [PHP-DEV] Analysis of property visibility, immutability, and cloning proposals

2021-01-01 Thread Larry Garfield
On Thu, Dec 31, 2020, at 8:04 AM, Olle Härstedt wrote: > 2020-12-31 12:37 GMT, Rowan Tommins : > > On 30/12/2020 18:42, Olle Härstedt wrote: > >>> To put it a different way, value types naturally form*expressions*, > >>> which mutable objects model clumsily. It would be very tedious if we had >

Re: [PHP-DEV] [RFC] Enumerations, Round 2

2021-01-01 Thread Benjamin Eberlei
On Mon, Dec 28, 2020 at 9:22 PM Larry Garfield wrote: > Hello, Internalians! > > After considerable discussion and effort, Ilija and I are ready to offer > you round 2 on enumerations. This is in the spirit of the previous > discussion, but based on that discussion a great deal has been