Re: [PHP-DEV] [Discussion] Implementing interfaces via traits

2024-08-29 Thread Michał Marcin Brzuchalski
Hi Brent, wt., 27 sie 2024 o 09:28 Brent Roose napisał(a): > Good morning internals > > I’d like to test the waters about an RFC idea: allowing traits to > implement interfaces, and consequently a class that uses such a trait will > automatically implement the interface as well. > > The original

[PHP-DEV] PHP 8.3.11 Released

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

Re: [PHP-DEV] Re: [RFC] Default expression

2024-08-29 Thread John Coggeshall
One thought re-reading the RFC. abstract class Theme { public function bar(); } class CuteTheme extends Theme { public function foo(); } class Config { public function __construct(Theme $theme = new CuteTheme()) {} } $a = new Config(default->foo()); In the proposed (updated) RFC would this be p

Re: [PHP-DEV] [Discussion] Implementing interfaces via traits

2024-08-29 Thread Valentin Udaltsov
On Tue, 27 August in 2024 at 10:31, Brent Roose wrote: > Good morning internals > > I’d like to test the waters about an RFC idea: allowing traits to > implement interfaces, and consequently a class that uses such a trait will > automatically implement the interface as well. > > The original idea

[PHP-DEV] Re: [RFC] Default expression

2024-08-29 Thread Bilge
Hi gang, On 24/08/2024 17:49, Bilge wrote: New RFC just dropped: https://wiki.php.net/rfc/default_expression. I think some of you might enjoy this one. Hit me with any feedback. Now the dust has settled, I've updated the RFC to version 1.1. The premise of the RFC is unchanged, but the propo

Re: [PHP-DEV] What to do with ext/snmp?

2024-08-29 Thread Michael Maroszek
We have switched to a userland library (https://github.com/FreeDSx/SNMP) due to crashes when using the internal SNMP extension in ZTS scenarios. It doesn't really answer your question, but maybe it fits category two, that usage is not very high or that people chose the pure PHP version. Michael A

Re: [PHP-DEV] PHP 8.4.0beta4 available for testing

2024-08-29 Thread Saki Takamachi
Hi, > PHP 8.4.0beta4 has just been released and may be downloaded from > https://downloads.php.net/~calvinb/ > > Or use the git tag: php-8.4.0beta4 > > Windows binaries are available at: https://windows.php.net/qa/ > > Please test it carefully, and report any bugs at > https://github.com/php/p

[PHP-DEV] PHP 8.4.0beta4 available for testing

2024-08-29 Thread Saki Takamachi
PHP 8.4.0beta4 has just been released and may be downloaded from https://downloads.php.net/~calvinb/ Or use the git tag: php-8.4.0beta4 Windows binaries are available at: https://windows.php.net/qa/ Please test it carefully, and report any bugs at https://github.com/php/php-src/issues The next

[PHP-DEV] What to do with ext/snmp?

2024-08-29 Thread Christoph M. Becker
Hi all, it seems to me that we're pulling through ext/snmp without having any real expert of the protocol, let alone of the implementation. The extension has no code owner, and according to EXTENSIONS, it has no primary maintainer for more than ten years. Skimming through the commit log mostly s

[PHP-DEV] PHP 8.2.23 Released!

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