[PHP-DEV][RFC][DISCUSSION] Add $locale parameter for grapheme_* functions

2025-06-15 Thread youkidearitai
Hi, Internals I would like go to "Under Discussion" section. And I noticed that add locale parameter for grapheme_levenshetin function. Therefore, I added an RFC and pull request. - https://github.com/php/php-src/pull/18792 - https://wiki.php.net/rfc/grapheme_add_locale_for_case_insensitive Feel

Re: [PHP-DEV] RFC karma request

2025-06-15 Thread Derick Rethans
On 15 June 2025 21:46:01 CEST, ignace nyamagana butera wrote: >Greetings all, > >Following the brief introduction of my RFC4648 proposal for PHP ( >https://news-web.php.net/php.internals/127656) I would like to request RFC >karma. > >My wiki account is: nyamsprod. > >Thank you in advance. > >Igna

[PHP-DEV] [RFC] str_icontains

2025-06-15 Thread Adam Cable
Hello internals, I'd like to present my first RFC - str_icontains, a case-insensitive friend of str_contains RFC: https://wiki.php.net/rfc/str_icontains PR (including tests): https://github.com/php/php-src/pull/18705 Previous discussion: https://externals.io/message/127504 Thanks, Adam

[PHP-DEV] RFC karma request

2025-06-15 Thread ignace nyamagana butera
Greetings all, Following the brief introduction of my RFC4648 proposal for PHP ( https://news-web.php.net/php.internals/127656) I would like to request RFC karma. My wiki account is: nyamsprod. Thank you in advance. Ignace Nyamagana Butera

Re: [PHP-DEV] [RFC] Add num_available_processors

2025-06-15 Thread Daniel Kesselberg
Hi, Thanks for all your feedback on the RFC. I've updated the RFC to incorporate most of your feedback: https://wiki.php.net/rfc/num_available_processors 1) The limitation, that the CPU affinity mask is ignored 2) The naming discussion 3) Function availability on unsupported platforms 4) Retu

Re: [PHP-DEV] [RFC] Add num_available_processors

2025-06-15 Thread Daniel Kesselberg
Hi Rob, Thanks for your feedback. I've added a note, to the proposal section, that the cpu affinity mask is currently not considered. The current patch is rather small. Taking the CPU affinity mask into account will require a more work and introduces different code paths for linux, bsd and w

Re: [PHP-DEV] Interest in a binary parameter type in PDO?

2025-06-15 Thread Gina P. Banyard
On Wednesday, 23 October 2024 at 17:36, Calvin Buckley wrote: > Hi internals, > > I've been debugging some recent issues users have had, as well as > discussing some related ones. I've come to the conclusion there's a lot > issues with applications trying to access binary data via PDO drivers.

Re: [PHP-DEV] [RFC] Add num_available_processors

2025-06-15 Thread Daniel Kesselberg
Hi Larry, Thanks for your feedback. I've reworked the introduction at https://wiki.php.net/rfc/num_available_processors and hopefully the use case is a bit clearer now. Best Daniel On 2025-05-25 22:22, Larry Garfield wrote: On Sat, May 24, 2025, at 12:37 PM, Daniel Kesselberg wrote: Hi ev

[PHP-DEV] Proposal for `BcMath\Number::sum()`, `max()`, and `min()`

2025-06-15 Thread Saki Takamachi
Hi internals! I would like to propose adding three static methods — `sum()`, `max()`, and `min()` — to BcMath\Number. Before moving forward, I’d like to gauge whether there is general interest or demand for such functionality. Of course, I'm aware that these operations can be implemented easily