Re: [PHP-DEV] Travis CI migration?

2021-01-02 Thread Stanislav Malyshev
Hi! The exception being the PHP-7.3 branch, which in security mode. Unless we add GH CI for that branch as well, switching to travis-ci.com seems to be useful. Maybe we get enough free credits for the relatively rare builds? I don't think it's possible to migrate only one branch, but if we

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

2021-01-02 Thread Paul M. Jones
Hi Rowan and all, I apologize in advance for the wall-of-text; the short questions lead to long answers. > On Jan 2, 2021, at 12:56, Rowan Tommins wrote: > > On 01/01/2021 20:31, Paul M. Jones wrote: > >> The complaints against the incomplete and inconsistent immutability of PSR-7 >> have

Re: [PHP-DEV] [RFC] Configurable callback to dump results of expressions in `php -a`

2021-01-02 Thread Nikita Popov
On Sun, Dec 20, 2020 at 11:36 PM tyson andre wrote: > Hi internals, > > I've created a new RFC > https://wiki.php.net/rfc/readline_interactive_shell_result_function > adding a way to configure a callback to be called to dump the value of > single-expression statements from `php -a` > (and an ini

Re: [PHP-DEV] Travis CI migration?

2021-01-02 Thread Christoph M. Becker
On 02.01.2021 at 22:43, Nikita Popov wrote: > On Sat, Jan 2, 2021 at 6:51 AM Stanislav Malyshev > wrote: > >> 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

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

2021-01-02 Thread Olle Härstedt
2021-01-02 21:25 GMT, Larry Garfield : > On Sat, Jan 2, 2021, at 12:56 PM, Rowan Tommins wrote: >> On 01/01/2021 20:31, Paul M. Jones wrote: >> > The complaints against the incomplete and inconsistent immutability of >> > PSR-7 have merit. >> >> >> The big mistake of PSR-7, in my view, is mixing

[PHP-DEV] Re: Improving PRNG implementation.

2021-01-02 Thread Go Kudo
Unfortunately, there is not much feedback on this proposal. To remedy the situation, we have updated the RFC and implemented it. https://wiki.php.net/rfc/object_scope_prng https://github.com/php/php-src/pull/6568 Currently, it seems to work generally as expected, although it has failed to be

Re: [PHP-DEV] Travis CI migration?

2021-01-02 Thread Nikita Popov
On Sat, Jan 2, 2021 at 6:51 AM Stanislav Malyshev wrote: > 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

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

2021-01-02 Thread Larry Garfield
On Sat, Jan 2, 2021, at 12:56 PM, Rowan Tommins wrote: > On 01/01/2021 20:31, Paul M. Jones wrote: > > The complaints against the incomplete and inconsistent immutability of > > PSR-7 have merit. > > > The big mistake of PSR-7, in my view, is mixing immutable objects with > streams, which are

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

2021-01-02 Thread Rowan Tommins
On 01/01/2021 20:31, Paul M. Jones wrote: The complaints against the incomplete and inconsistent immutability of PSR-7 have merit. The big mistake of PSR-7, in my view, is mixing immutable objects with streams, which are inherently mutable/stateful. I wonder if there are any lessons to be

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

2021-01-02 Thread Rowan Tommins
On 31/12/2020 14:04, Olle Härstedt wrote: Yes, of course you can find use-cases where immutability is a better choice, just like I can find use-cases where (constrained) mutability is better. The point is not to replace one tool with another, but rather adding another tool to the toolbox. The

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

2021-01-02 Thread Larry Garfield
On Fri, Jan 1, 2021, at 5:51 PM, Olle Härstedt 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. ;-) > > > > As you

[PHP-DEV] Re: [RFC] Configurable callback to dump results of expressions in `php -a`

2021-01-02 Thread tyson andre
Hi internals, > I've created a new RFC > https://wiki.php.net/rfc/readline_interactive_shell_result_function > adding a way to configure a callback to be called to dump the value of > single-expression statements from `php -a` > (and an ini setting that can be disabled to prevent that callback