Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-26 Thread Larry Garfield
On Mon, May 26, 2025, at 5:47 AM, Tim Düsterhus wrote: > Hi > > Arnaud, Ilija and I would like to propose making OPcache a non-optional > part of PHP starting with PHP 8.5. > > Please find the RFC including more details at: > https://wiki.php.net/rfc/make_opcache_required > > As of now OPcache ca

Re: [PHP-DEV] RFC: Single-Expression functions

2025-05-26 Thread Larry Garfield
On Mon, May 26, 2025, at 1:14 PM, Dmitry Derepko wrote: > Thanks for your replies. > > There is no big deal for me to use `=>` instead of `=`. Just used to > use `=`. I’ll change it then. > > Thought there would be more thoughts against the RFC, but the voting > will show these votes. > Could so

[PHP-DEV] ext/gd: changing signatures for functions returning true

2025-05-26 Thread David CARLIER
Hi, Working through this https://github.com/php/php-src/pull/18651/files, do not mind waiting for PHP 9 if needs be. Let me know what you think. Cheers.

[PHP-DEV] [VOTE] RFC: Final Property Promotion

2025-05-26 Thread Daniel Scherzer
Hi internals, Voting is now open for this RFC. * RFC: https://wiki.php.net/rfc/final_promotion * Discussion thread: https://externals.io/message/126926 Voting will end 2025-06-09 at end-of-day UTC. -Daniel

Re: [PHP-DEV] RFC: Single-Expression functions

2025-05-26 Thread tovilo.ilija
Hi Dmitry Thanks for your interest in improving PHP. On Thu, May 22, 2025 at 11:25 AM Dmitry Derepkowrote: > > https://wiki.php.net/rfc/single-expression-functions In the "Single-Expression functions in other languages" section, at least the Rust and Swift examples are wrong, as s

Re: [PHP-DEV] Module or Class Visibility, Season 2

2025-05-26 Thread Alwin Garside
Hey all, It took me a while, but I'm finally caught up with this thread, and would like to give my 2 cents. On 25 May 2025, at 23:17, Rowan Tommins [IMSoP] wrote: > > On 25/05/2025 21:28, Larry Garfield wrote: >> Even if we develop some way such that in Foo.php, loading the class >> \Beep\Boo

Re: [PHP-DEV] RFC: Single-Expression functions

2025-05-26 Thread Tim Düsterhus
Hi On 5/26/25 20:14, Dmitry Derepko wrote: Could someone help me with the RFC process? Should I open the vote? Please find https://wiki.php.net/rfc/howto for an explanation of the process. An RFC needs *at least* two weeks of discussion, depending on the complexity of the RFC it should pro

Re: [PHP-DEV] RFC: Single-Expression functions

2025-05-26 Thread Dmitry Derepko
Thanks for your replies. There is no big deal for me to use `=>` instead of `=`. Just used to use `=`. I’ll change it then. Thought there would be more thoughts against the RFC, but the voting will show these votes. Could someone help me with the RFC process? Should I open the vote? --

Re: [PHP-DEV] Re: [RFC] Clone with v2

2025-05-26 Thread Theodore Brown
On Mon, May 26, 2025 at 08:03 Volker Dusch wrote:   > Version 1.1 Update: Array syntax over named arguments. > > Thank you everyone for the discussion and for improving this RFC. > I'm very happy with the updates we made thanks to your feedback on and off > list. > > The main idea of this RFC wa

Re: [PHP-DEV] Re: [RFC] Clone with v2

2025-05-26 Thread Tim Düsterhus
Hi Clarifying on the technical questions. Am 2025-05-26 16:37, schrieb Nicolas Grekas: I think the RFC is missing a few bits to be complete: - making "clone" a function means suddenly a "use clone;" or a "\clone" is going to be needed to not get a perf hit, isn't it? But since $y = clone $x

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-26 Thread Michael Maroszek
I really like the idea. We use the Embed SAPI statically linked and at the moment we need to take great care to bundle the OPcache extension. This will make it a lot easier for us. A big +1 from my point of view! Regards, Michael Tim Düsterhus schrieb am Mo. 26. Mai 2025 um 12:49: > Hi > > Arna

Re: [PHP-DEV] Re: [RFC] Clone with v2

2025-05-26 Thread Nicolas Grekas
Hi Volker, Thanks for the update. Le lun. 26 mai 2025 à 16:05, Volker Dusch a écrit : > Version 1.1 Update: Array syntax over named arguments. > > Thank you everyone for the discussion and for improving this RFC. I'm very > happy with the updates we made thanks to your feedback on and off list.

[PHP-DEV] Re: [RFC] Clone with v2

2025-05-26 Thread Volker Dusch
Version 1.1 Update: Array syntax over named arguments. Thank you everyone for the discussion and for improving this RFC. I'm very happy with the updates we made thanks to your feedback on and off list. The main idea of this RFC was to have as little of a footprint as possible and make it feel nat

[PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-26 Thread Tim Düsterhus
Hi Arnaud, Ilija and I would like to propose making OPcache a non-optional part of PHP starting with PHP 8.5. Please find the RFC including more details at: https://wiki.php.net/rfc/make_opcache_required As of now OPcache cannot be statically compiled into the PHP binary at all, which is t