Re: [PHP-DEV] Three proposals for PHP 9

2025-08-04 Thread Gregory Magarshak
That would be great. To be honest, the biggest bang cod the buck would be switch_global_context. Just that alone can turn all existing php code into something that can be adapted to evented programming (amPHP, reactPHP, Swoole and FrankenPHP). As it is, only Latavel Octane and a couple other proj

Re: [PHP-DEV] Three proposals for PHP 9

2025-07-31 Thread Alexandre Daubois
> Thanks for the suggestions. Maybe add a new function func_get_named_args(): > array, would be a good extension to the named arguments rfc. I even wonder if this would require a RFC? If not, this is something that may be proposed for PHP 8.5. Best, Alexandre Daubois

Re: [PHP-DEV] Three proposals for PHP 9

2025-07-29 Thread Thomas Bley
> Gregory Magarshak hat am 29.07.2025 19:46 CEST geschrieben: > > > I came across this post on Reddit asking what people would like to see in the > next PHP: https://www.reddit.com/r/PHP/s/l9r8UJP6Rk > > There are two major proposals I would make, both of which aim to greatly > improve

[PHP-DEV] Three proposals for PHP 9

2025-07-29 Thread Gregory Magarshak
I came across this post on Reddit asking what people would like to see in the next PHP: https://www.reddit.com/r/PHP/s/l9r8UJP6Rk There are two major proposals I would make, both of which aim to greatly improve PHP's competitiveness and ecosystem, while maintaining its spirit and what makes it gr