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

2024-10-14 Thread Pierre Joye
Hello, On Mon, Oct 14, 2024, 8:07 AM Bilge wrote: > On 14/10/2024 01:02, Valentin Udaltsov wrote: > > The problem is that in practice most of the PHP libraries consider > > themselves to be compatible with newer PHP versions. > > > > For instance, Symfony PropertyInfo uses `"php": ">=8.2"` const

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

2024-10-14 Thread Christoph M. Becker
On 14.10.2024 at 13:29, Gina P. Banyard wrote: > The thing is, I don't even know what: > >> Source compatibility should be kept if possible, while breakages are allowed > > means here. That refers to external extensions and SAPIs, etc. Binary compatibility as not possible (due to API number bump

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

2024-10-14 Thread Gina P. Banyard
On Monday, 14 October 2024 at 12:22, Bilge wrote: > On 14/10/2024 11:17, AllenJB wrote: > > > For reference, current policy on BC-breaks is here: > > https://github.com/php/policies/blob/main/release-process.rst > > That policy clearly states BC breaks are only allowed in major versions, > whic

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

2024-10-14 Thread Jonathan Vollebregt
On 10/14/24 4:37 AM, Valentin Udaltsov wrote: First of all, I have already agreed above that PHP does not have a BC break here. Now we are discussing the potential problems in the PHP ecosystem and how they could be mitigated. Then perhaps we should change the name of the thread, since the titl

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

2024-10-14 Thread Bilge
On 14/10/2024 11:17, AllenJB wrote: For reference, current policy on BC-breaks is here: https://github.com/php/policies/blob/main/release-process.rst That policy clearly states BC breaks are only allowed in major versions, which flies in the face of what I read: "Breaking changes are allow

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

2024-10-14 Thread AllenJB
On 14/10/2024 10:03, Bilge wrote: On 14/10/2024 02:51, Valentin Udaltsov wrote: Hi, Bilge! I think that PHP should then clearly explain what is a BC break and what isn't on a separate php.net page. And even explain what php version constraints are safe for Composer libraries. Some languages h

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

2024-10-14 Thread Bilge
On 14/10/2024 02:51, Valentin Udaltsov wrote: Hi, Bilge! I think that PHP should then clearly explain what is a BC break and what isn't on a separate php.net page. And even explain what php version constraints are safe for Composer libraries. Some languages have such a document: -https://go.dev

Re: [PHP-DEV][DISCUSSION] Multibyte for levenshtein function

2024-10-14 Thread youkidearitai
2024年10月6日(日) 14:45 youkidearitai : > > 2024年10月5日(土) 1:20 Tim Düsterhus : > > > > Hi > > > > Am 2024-09-25 09:21, schrieb youkidearitai: > > > I tried implement mb_levenshtein function and create an RFC. > > > https://wiki.php.net/rfc/mb_levenshtein > > > https://github.com/php/php-src/pull/16043