Re: [PHP-DEV] [Discussion] grapheme cluster for str_split function

2024-03-04 Thread youkidearitai
2024年3月5日(火) 5:52 Niels Dossche : > > Hi Yuya > > This sounds useful. > > I do have a question about the function signature: > function grapheme_str_split(string $string, int $length = 1): array {} > > This always returns an array. > However, looking at your PR it seems you return NULL on failure,

[PHP-DEV] PHP 8.2.17RC2 available for testing

2024-03-04 Thread Sergey Panteleev
PHP 8.2.17RC2 has just been released and can be downloaded from: https://downloads.php.net/~sergey/ or https://qa.php.net/ or use the git tag: php-8.2.17RC2 Windows binaries are available at: https://windows.php.net/qa/#php-8.2 Please test it carefully, and report any bugs to

Re: [PHP-DEV] is this thing on?

2024-03-04 Thread Andreas Heigl
Hey Folks. Am 05.03.24 um 00:11 schrieb dan...@daniil.it: The VSC part from github (hosting our code), can very easily be ported. Issues, discussions etc can not. With the ongoing enshittification of most of the Internet due to advertising and tracking, we'd be negligent not hosting and

Re: [PHP-DEV] is this thing on?

2024-03-04 Thread daniil
> The VSC part from github (hosting our code), can very easily be ported. > Issues, discussions etc can not. > > With the ongoing enshittification of most of the Internet due to advertising > and tracking, we'd be negligent not hosting and owning our own content > (including our issue tracker,

Re: [PHP-DEV] is this thing on?

2024-03-04 Thread Derick Rethans
On 4 March 2024 22:26:37 GMT, dan...@daniil.it wrote: >> Has Microsoft made a commitment to support open source forever? I mean MS >> owns Github, what ensures that it will stay free? > >This is a silly argument, if that were the case, maybe the VCS should move >back to a self-hosted instance

Re: [PHP-DEV] is this thing on?

2024-03-04 Thread daniil
> Has Microsoft made a commitment to support open source forever? I mean MS > owns Github, what ensures that it will stay free? This is a silly argument, if that were the case, maybe the VCS should move back to a self-hosted instance too? Jokes aside, if Microsoft suddenly decides to throw away

Re: [PHP-DEV] is this thing on?

2024-03-04 Thread Lars Nielsen
On 04.03.2024 20.20, dan...@daniil.it wrote: >> Mailing lists are fine and PHP is not the only project using them. The >> Linux kernel successfully uses them, the HAProxy project does as well >> and so does Debian. >> >> Best regards >> Tim Düsterhus > > Hi, Internals > > There are times when

Re: [PHP-DEV] is this thing on?

2024-03-04 Thread daniil
>> Mailing lists are fine and PHP is not the only project using them. The >> Linux kernel successfully uses them, the HAProxy project does as well >> and so does Debian. >> >> Best regards >> Tim Düsterhus > > Hi, Internals > > There are times when I explore archives (mbstring and character code

Re: [PHP-DEV] [Discussion] grapheme cluster for str_split function

2024-03-04 Thread Niels Dossche
Hi Yuya This sounds useful. I do have a question about the function signature: function grapheme_str_split(string $string, int $length = 1): array {} This always returns an array. However, looking at your PR it seems you return NULL on failure, but the return type in the signature isn't

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-04 Thread Larry Garfield
On Mon, Mar 4, 2024, at 3:45 PM, Robert Landers wrote: > I would think that simply using return-to-set would be the simplest > solution, if you need to run something after it's set, you can use the > regular way of running code after a return: > > try { > return $value + 100; > } finally { >

Re: [PHP-DEV] [RFC] [Discussion] Deprecate GET/POST sessions

2024-03-04 Thread Bruce Weirdan
Hi Kamil On Mon, Mar 4, 2024 at 4:43 PM Kamil Tekiela wrote: > I would like to start a discussion on a new RFC > https://wiki.php.net/rfc/deprecate-get-post-sessions > > Please let me know whether the idea is clear and the RFC is understandable. It would probably make sense to also list

Re: [PHP-DEV] [RFC] [Discussion] Deprecate GET/POST sessions

2024-03-04 Thread Anton Smirnov
On 03/03/2024 23:33, Kamil Tekiela wrote: > Hi Anton, > >> As I know some session-related middlewares force custom-only session_id >> handling by setting >> >> use_cookies = Off >> use_only_cookies = On >> >> and then using session_id(...) directly >> >> Example: >>

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-04 Thread Gina P. Banyard
On Friday, 1 March 2024 at 06:28, Stephen Reay wrote: > For the third time: I'm well aware of how parameter types work everywhere > else, and that's why I'm asking why the same behaviour isn't being followed > here? > > - You've said you want to avoid boilerplate; and > - You've said you

Re: [PHP-DEV] [RFC] [Discussion] Deprecate GET/POST sessions

2024-03-04 Thread Ayesh Karunaratne
> > Hi Internals, > > I would like to start a discussion on a new RFC > https://wiki.php.net/rfc/deprecate-get-post-sessions > > Please let me know whether the idea is clear and the RFC is understandable. > > In particular, I am looking for any feedback as to why this is a bad > idea. The primary

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-04 Thread Rowan Tommins [IMSoP]
On 27/02/2024 23:17, Larry Garfield wrote: > > A little history here to help clarify how we ended up where we are: The > original RFC as we designed it modeled very closely on Swift, with 4 hooks. > Using get/set at all would create a virtual property and you were on your > own, while the

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-04 Thread Larry Garfield
On Fri, Mar 1, 2024, at 6:28 AM, Stephen Reay wrote: == Re the $value variable in set >> >> *snip* >> So what makes the most sense to me is to keep $value optional, but IF you specify an alternate name, you must also specify a type (which may be wider). So these are

Re: [PHP-DEV] [RFC] [Discussion] Deprecate GET/POST sessions

2024-03-04 Thread Kamil Tekiela
-- Forwarded message - From: Anton Smirnov Date: Sun, 3 Mar 2024 at 19:56 Subject: Re: [PHP-DEV] [RFC] [Discussion] Deprecate GET/POST sessions To: Kamil Tekiela Greetings! I'm sorry for addressing you directly, if you can forward this message to internals I'd be grateful. It

[PHP-DEV] [pdo_dblib] Correct TDS protocol version

2024-03-04 Thread Saki Takamachi
Hi internals, There seems to be an error in the handling of pdo_dblib's TDS protocol version, so I'm thinking of fixing these. Through this email, I would like to discuss the appropriate time and method for correction. — For your reference — There are several derivatives of "SQL Server", with

[PHP-DEV] [Discussion] grapheme cluster for str_split function

2024-03-04 Thread youkidearitai
Hi, Internals I noticed PHP does not have grapheme cluster for str_split function., Until now, you had to use the PCRE function's \X. Therefore, I try create `grapheme_str_split` function. https://github.com/php/php-src/pull/13580 It is possible to convert array per emoji and variation selectors

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-04 Thread Robert Landers
On Mon, Mar 4, 2024 at 4:40 PM Stephen Reay wrote: > > > > > On 28 Feb 2024, at 06:17, Larry Garfield wrote: > > > > On Sun, Feb 25, 2024, at 10:16 PM, Rowan Tommins [IMSoP] wrote: > >> [Including my full previous reply, since the list and gmail currently > >> aren't being friends. Apologies

Re: [PHP-DEV] [RFC] [Discussion] Deprecate GET/POST sessions

2024-03-04 Thread Gina P. Banyard
On Saturday, 2 March 2024 at 21:10, Kamil Tekiela wrote: > Hi Internals, > > I would like to start a discussion on a new RFC > https://wiki.php.net/rfc/deprecate-get-post-sessions > > Please let me know whether the idea is clear and the RFC is understandable. > > In particular, I am looking