Re: [PHP-DEV] [RFC] More Appropriate Date/Time Exceptions

2022-12-15 Thread Derick Rethans
On Sat, 10 Dec 2022, Robert Landers wrote: > On Fri, Dec 9, 2022 at 5:31 PM Tim Düsterhus wrote: > > > > On 12/9/22 17:17, Dan Ackroyd wrote: > > >> If your data fails to > > >> unserialize, the only safe option is to throw it away. > > > > > > Even given that, you probably want to investigate ho

[PHP-DEV] [Vote] More Appropriate Date/Time Exceptions

2022-12-15 Thread Derick Rethans
Hi, I've just opened the vote for "More Appropriate Date/Time Exceptions". It runs until December 31st, 24:00 UTC. You can vote at: https://wiki.php.net/rfc/datetime-exceptions#voting cheers, Derick -- https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it?

Re: [PHP-DEV] [Vote] More Appropriate Date/Time Exceptions

2022-12-15 Thread Marco Pivetta
Hey Derick, On Thu, 15 Dec 2022 at 15:27, Derick Rethans wrote: > Hi, > > I've just opened the vote for "More Appropriate Date/Time Exceptions". > It runs until December 31st, 24:00 UTC. > > You can vote at: > https://wiki.php.net/rfc/datetime-exceptions#voting > > cheers, > Derick > > Happy to

[PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Derick Rethans
Hi, I have just published an initial draft of the "Unicode Text Processing" RFC, a proposal to have performant unicode text processing always available to PHP users, by introducing a new "Text" class. You can find it at: https://wiki.php.net/rfc/unicode_text_processing I'm looking forwards to

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Andreas Heigl
Hey Derick, Hey all. On 15.12.22 16:34, Derick Rethans wrote: Hi, I have just published an initial draft of the "Unicode Text Processing" RFC, a proposal to have performant unicode text processing always available to PHP users, by introducing a new "Text" class. You can find it at: https://wik

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Deleu
On Thu, Dec 15, 2022 at 12:34 PM Derick Rethans wrote: > Hi, > > I have just published an initial draft of the "Unicode Text Processing" > RFC, a proposal to have performant unicode text processing always > available to PHP users, by introducing a new "Text" class. > > You can find it at: > https

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Tim Düsterhus
Hi On 12/15/22 16:34, Derick Rethans wrote: You can find it at: https://wiki.php.net/rfc/unicode_text_processing I'm looking forwards to hearing your opinions, additions, and suggestions — the RFC specifically asks for these in places. Some first remarks: -- replaceText(): In the r

[PHP-DEV] Re: [RFC] Unicode Text Processing

2022-12-15 Thread Christoph M. Becker
On 15.12.2022 at 16:34, Derick Rethans wrote: > I have just published an initial draft of the "Unicode Text Processing" > RFC, a proposal to have performant unicode text processing always > available to PHP users, by introducing a new "Text" class. > > You can find it at: > https://wiki.php.net/rf

[PHP-DEV] Re: [RFC] Unicode Text Processing

2022-12-15 Thread Paul Crovella
On 12/15/2022 7:34 AM, Derick Rethans wrote: https://wiki.php.net/rfc/unicode_text_processing A few quick thoughts: The constructor will also convert the given text to Unicode Canonical Form. By this do you mean Normalization Form C (NFC)? "Unicode Canonical Form" isn't a phrase I'm famili

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Tim Düsterhus
Hi On 12/15/22 17:05, Andreas Heigl wrote: I see a few challenges in the approach. My first question was: Why do we need a new implementation of the ICU library? Creating a userland […] I'm ambivalent about this. On the one hand it could make some things for sure easier. On the other hand it

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Sara Golemon
On Thu, Dec 15, 2022 at 9:34 AM Derick Rethans wrote: > I have just published an initial draft of the "Unicode Text Processing" > RFC, a proposal to have performant unicode text processing always > available to PHP users, by introducing a new "Text" class. > > You can find it at: > https://wiki.p

[PHP-DEV] PHP 8.2.1RC1 available for testing

2022-12-15 Thread Pierrick Charron
PHP 8.2.1RC1 has just been released and can be downloaded from: https://downloads.php.net/~pierrick/ or https://qa.php.net/ or use the git tag: php-8.2.1RC1 Windows binaries are available at: https://windows.php.net/qa/#php-8.2 Please test it carefully, and report any bugs to https://github.c

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Deleu
On Thu, Dec 15, 2022, 3:16 PM Tim Düsterhus wrote: > > [1] The 'Text' class should likely be made final, because folks might > otherwise rely on a specific userland extension, preventing actual > interoperability. > I'm fond of final classes but in here I think it *adds* burden to core developer

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Tim Düsterhus
Hi On 12/15/22 19:51, Deleu wrote: [1] The 'Text' class should likely be made final, because folks might otherwise rely on a specific userland extension, preventing actual interoperability. I'm fond of final classes but in here I think it *adds* burden to core developers. As you said it yours

Re: [PHP-DEV] Re: [RFC] Unicode Text Processing

2022-12-15 Thread Jakub Zelenka
On Thu, Dec 15, 2022 at 4:56 PM Christoph M. Becker wrote: > On 15.12.2022 at 16:34, Derick Rethans wrote: > > > I have just published an initial draft of the "Unicode Text Processing" > > RFC, a proposal to have performant unicode text processing always > > available to PHP users, by introducing

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Rowan Tommins
On 15/12/2022 15:34, Derick Rethans wrote: I have just published an initial draft of the "Unicode Text Processing" RFC, a proposal to have performant unicode text processing always available to PHP users, by introducing a new "Text" class. You can find it at: https://wiki.php.net/rfc/unicode_tex

Re: [PHP-DEV] [RFC] Unicode Text Processing

2022-12-15 Thread Tim Starling
On 16/12/22 02:34, Derick Rethans wrote: Hi, I have just published an initial draft of the "Unicode Text Processing" RFC, a proposal to have performant unicode text processing always available to PHP users, by introducing a new "Text" class. Using "collator" and "locale" interchangeably seems

[PHP-DEV] PHP 8.1.14RC1 Available for testing

2022-12-15 Thread Ben Ramsey
PHP 8.1.14RC1 has just been released and can be downloaded from: https://downloads.php.net/~ramsey/ Or https://qa.php.net/ Or use the git tag: php-8.1.14RC1 Windows binaries are available at https://windows.php.net/qa#php-8.1 Please test it carefully, and report any bugs to http://github.com/

[PHP-DEV] Re: [RFC] Unicode Text Processing

2022-12-15 Thread Daniel Wolfe
On 2022-12-15 8:34 AM, Derick Rethans wrote: Hi, I have just published an initial draft of the "Unicode Text Processing" RFC, a proposal to have performant unicode text processing always available to PHP users, by introducing a new "Text" class. You can find it at: https://wiki.php.net/rfc/unic