Re: [PHP-DEV] merging r/w locks

2025-09-20 Thread Rob Landers
On Fri, Sep 12, 2025, at 23:39, Hans Krentel wrote: > > > > On Tuesday 09 September 2025 10:14:31 (+02:00), Rob Landers wrote: > > > Hi internals, > > > > Is there any hope to have https://github.com/php/php-src/pull/16565 merged > > before 8.5? It's too late to address all the locks, but h

Re: [PHP-DEV] [RFC] Soft-Deprecate __sleep() and __wakeup()

2025-09-20 Thread Thomas Bley
> Sebastian Bergmann hat am 11.09.2025 08:33 CEST > geschrieben: > > > Am 10.09.2025 um 15:23 schrieb Jakub Zelenka: > > If __sleep is used to serialize private properties (not all but just > > some), then those property names are stored in the mangled format > > ("\x00" . self::class . "\x0

Re: [PHP-DEV] [RFC] Soft-Deprecate __sleep() and __wakeup()

2025-09-20 Thread Jakub Zelenka
Hi, On Wed, Sep 10, 2025 at 3:23 PM Jakub Zelenka wrote: > Hi, > > On Fri, Sep 5, 2025 at 5:55 PM Nicolas Grekas < > nicolas.grekas+...@gmail.com> wrote: > >> Hello internals, >> >> Following the discussion that started at >> https://externals.io/message/128226#128456 I wrote this RFC to formali

[PHP-DEV] PHP 8.4.13RC1 Ready for testing

2025-09-20 Thread Calvin Buckley
PHP 8.4.13RC1 has just been released and may be downloaded from https://downloads.php.net/~calvinb/ Or use the git tag: php-8.4.13RC1 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 8.4.13 sho

Re: [PHP-DEV] Environment Variable based PHP Extension loading

2025-09-20 Thread Derick Rethans
On 12 September 2025 21:13:04 BST, Soner Sayakci wrote: >Hey, > >I would like to load PHP extensions by environment variables in a >containerized environment. All existing solutions are moving files in an >entrypoint and this does not work for read-only containers. Why this? >Extensions like Black

Re: [PHP-DEV] [RFC proposal] Syntactic sugar for array push()

2025-09-20 Thread Alexandru Pătrănescu
On Sat, Sep 13, 2025 at 1:24 PM Rowan Tommins [IMSoP] wrote: > On 12 September 2025 20:02:04 BST, "Dušan Kreheľ" > wrote: > >[+] array_push > >[-] array_pop > >[-<] array_shift > > > >array_unshift() is a special case of array_merge(), so it would then need > >syntactic sugar for merging arrays,