[PHP-DEV] [RFC] [Discussion] Persistent CurlShareHandle objects

2024-10-09 Thread Eric Norris
Hello all, After receiving some feedback about https://github.com/php/php-src/pull/15603, I'm formally proposing an RFC to add persistent curl share handles here: https://wiki.php.net/rfc/curl_share_persistence Thanks to those who have provided feedback so far! Of note: the implementation introdu

Re: [PHP-DEV] Asymmetric visibility is a BC break

2024-10-09 Thread Jonathan Vollebregt
On 10/9/24 5:01 PM, Valentin Udaltsov wrote: While not explicitly stated in changelogs, this was a BC break, because a changed semantic of smth that existed before is a BC break. Since readonly was only introduced in 8.1 this wasn't a BC break. You couldn't have a readonly property before so n

Re: [PHP-DEV] Asymmetric visibility is a BC break

2024-10-09 Thread Claude Pache
> Le 9 oct. 2024 à 17:01, Valentin Udaltsov a > écrit : > > Hi, internals! > > Since writing https://externals.io/message/125740 I've realized that > the major problem with aviz is actually simple but fundamental. > > In PHP <=8.0 this code is valid for an object of any user class: > > ```ph

Re: [PHP-DEV] Asymmetric visibility is a BC break

2024-10-09 Thread Kamil Tekiela
I have to admit I understood nothing from your email, but I got curious about some of your words. > A readonly property is two functionalities in one: write-once and private set. What do you mean it is private set? Readonly only means the property is writable once. It does not affect its visibili

Re: [PHP-DEV] Asymmetric visibility is a BC break

2024-10-09 Thread Hammed Ajao
On Wed, Oct 9, 2024, 9:02 a.m. Valentin Udaltsov < udaltsov.valen...@gmail.com> wrote: > Hi, internals! > > Since writing https://externals.io/message/125740 I've realized that > the major problem with aviz is actually simple but fundamental. > > In PHP <=8.0 this code is valid for an object of an

[PHP-DEV] Asymmetric visibility is a BC break

2024-10-09 Thread Valentin Udaltsov
Hi, internals! Since writing https://externals.io/message/125740 I've realized that the major problem with aviz is actually simple but fundamental. In PHP <=8.0 this code is valid for an object of any user class: ```php class User { public string $name = 'Bob'; } $object = new User(); forea

Re: [PHP-DEV] [RFC] Policy on 3rd party code

2024-10-09 Thread Larry Garfield
On Tue, Oct 8, 2024, at 8:48 PM, Mike Schinkel wrote: >> On Oct 7, 2024, at 7:31 PM, Jim Winstead wrote: >> >> What is currently blocking content that at least one unpaid volunteer* wants >> to contribute in a way that leverages the existing technical infrastructure >> is that there is vague, u