Re: [PHP-DEV] PHP 8.4.2 Released

2024-12-19 Thread Morgan
On 2024-12-20 06:46, Calvin Buckley wrote: The PHP development team announces the immediate availability of PHP 8.4.2. This is a bugfix release. All PHP 8.4 users are encouraged to upgrade to this version. For source downloads of PHP 8.4.2 please visit our downloads page. Windows binaries can b

[PHP-DEV] [VOTE] Error backtraces v2

2024-12-19 Thread Eric Norris
Hello internals, Apologies, I originally responded to the discussion thread instead of starting a new thread. As it has now been two weeks and discussion has quieted down, I've now opened the "Error backtraces v2" RFC for voting: https://wiki.php.net/rfc/error_backtraces_v2 Once again I've adde

[PHP-DEV] Re: [RFC] [Discussion] Error backtraces v2

2024-12-19 Thread Eric Norris
On Thu, Dec 5, 2024 at 3:57 PM Eric Norris wrote: > > Hello yet again internals, > > I'd like to formally propose a continuation of the original error > backtraces RFC (https://wiki.php.net/rfc/error_backtraces): > > https://wiki.php.net/rfc/error_backtraces_v2 > > We recently had a production inc

[PHP-DEV] PHP 8.3.15 Released

2024-12-19 Thread Jakub Zelenka
The PHP development team announces the immediate availability of PHP 8.3.15. This is a bugfix release. All PHP 8.3 users are encouraged to upgrade to this version. For source downloads of PHP 8.3.15 please visit our downloads page: https://www.php.net/downloads Windows source and binaries can be

[PHP-DEV] PHP 8.4.2 Released

2024-12-19 Thread Calvin Buckley
The PHP development team announces the immediate availability of PHP 8.4.2. This is a bugfix release. All PHP 8.4 users are encouraged to upgrade to this version. For source downloads of PHP 8.4.2 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The list

[PHP-DEV] Idea: Inline enum

2024-12-19 Thread Marc Bennewitz
Hi all, I got a case where I have to create multiple different formatters and also I want to define the possible tokens of each formatter accessible in specific groups using enums. During that task I'm wondering why it's not possible to create an inline enum definition similar to an anonymou

[PHP-DEV] PHP 8.2.27 Released

2024-12-19 Thread Sergey Panteleev
The PHP development team announces the immediate availability of PHP 8.2.27. This is a bugfix release. All PHP 8.2 users are encouraged to upgrade to this version. For source downloads of PHP 8.2.27 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The li

Re: [PHP-DEV] [RFC] [Discussion] Error backtraces v2

2024-12-19 Thread Eric Norris
> Hi, > > Would be reasonable to be able to recover the stack trace of the error as a > string, in addition to the proposed format? In general, it is the format I > use in my error/exception handlers for convenience. > > A utility function that stringify the trace would be sufficient, as the > o

Re: [PHP-DEV] C Unit testing and mocking

2024-12-19 Thread Christoph M. Becker
On 16.12.2024 at 21:05, Christoph M. Becker wrote: > Especially on Windows, where we have different code paths, and sometimes > even completely different code, it would be great to also have these > unit tests. Given that link.exe supports /alternatename, a bit of > additional macro magic might d