Re: [PHP-DEV][RFC] Add mb_levenshtein function

2025-02-20 Thread Tim Düsterhus
Hi Am 2025-02-21 01:39, schrieb youkidearitai: I started voting for add mb_levenshtein. https://wiki.php.net/rfc/mb_levenshtein The vote must be announced in a separate mailing list thread with "[VOTE]" in the title for proper visibility. Best regards Tim Düsterhus

Re: [PHP-DEV][RFC] Add mb_levenshtein function

2025-02-20 Thread youkidearitai
2025年2月6日(木) 21:36 youkidearitai : > > Hello, internals. > > I did send about mb_levenshtein function at last year. > https://externals.io/message/125674 > > And, I updated an RFC. Please check below: > https://wiki.php.net/rfc/mb_levenshtein > > I would like moving forward to vote phase an RFC. >

Re: [PHP-DEV] RFC: Marking return values as important (#[\NoDiscard])

2025-02-20 Thread Rob Landers
On Thu, Feb 20, 2025, at 16:54, Volker Dusch wrote: > > On Wed, Feb 12, 2025 at 9:57 PM Rob Landers wrote: > Hey Rob, > > Sorry for writing the mail again, I just noticed I forgot to include the list > on my first reply to you, also corrected a mistake in the second paragraph. > > > There wil

Re: [PHP-DEV] RFC: Marking return values as important (#[\NoDiscard])

2025-02-20 Thread Volker Dusch
> On Wed, Feb 12, 2025 at 9:57 PM Rob Landers wrote: Hey Rob, Sorry for writing the mail again, I just noticed I forgot to include the list on my first reply to you, also corrected a mistake in the second paragraph. > There will eventually be a php 9, where BC changes will be possible. I don't

Re: [PHP-DEV] [VOTE] First Class Callables in constant expressions

2025-02-20 Thread Tim Düsterhus
Hi Am 2025-02-06 16:40, schrieb Volker Dusch: We just started the vote on the "First Class Callables in constant expressions" RFC. References: RFC: https://wiki.php.net/rfc/fcc_in_const_expr Implementation: https://github.com/php/php-src/pull/17213 Discussion: https://externals.io/message/1262

Re: [PHP-DEV] Re: RFC: Marking return values as important (#[\NoDiscard])

2025-02-20 Thread Tim Düsterhus
Hi Am 2025-02-14 10:10, schrieb Jakob Givoni: I think all the native attributes so far, with the exception of #[\AllowDynamicProperties], only affect the program at compile-time, or by emitting errors. They don't affect the program otherwise by changing behavior, throwing exceptions etc. (As lon

Re: [PHP-DEV] RFC: Marking return values as important (#[\NoDiscard])

2025-02-20 Thread Tim Düsterhus
Hi Apologies for the delay in getting back to you. Volker was out of office and I try to coordinate the replies with him to not misrepresent his opinion. Am 2025-02-12 14:17, schrieb Bilge: Apologies if this has already been brought up; I haven't read the entire thread, but isn't the entire

Re: [PHP-DEV] [DISCUSSION] Ternary nullcoalesce operator

2025-02-20 Thread Faizan Akram Dar
On Thu, 20 Feb 2025, 13:15 Mihail Liahimov, <91lia...@gmail.com> wrote: > Now we have nullcoalesca operator in PHP: > > $a = $a ?? $b; > > And nullcoalesce assignment operator: > > $a ??= $b; > > (which is equivalent of previous example with nullcoalesce operator). > > Also we have a short syntax

[PHP-DEV] [DISCUSSION] Ternary nullcoalesce operator

2025-02-20 Thread Mihail Liahimov
Now we have nullcoalesca operator in PHP: $a = $a ?? $b; And nullcoalesce assignment operator: $a ??= $b; (which is equivalent of previous example with nullcoalesce operator). Also we have a short syntax for ternary operator: $a = $a ?: $b; which is equivalent to: $a = $a ? $b : $a; Maybe