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

2025-09-17 Thread Hans Krentel
On Friday 12 September 2025 22:13:04 (+02:00), 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?

Re: [PHP-DEV] [RFC] Add pack()/unpack() support for signed integers with specific endianness

2025-09-17 Thread Alexandre Daubois
Hi, > I'm not sure if “all formatting codes work the same” is still 100% > accurate (due to J and P), but “many differences” is definitely false. > I'm seeing the following differences: > > - J and P might or might not be different. > - e, E, g, and G don't exist in Perl (it would be d<, d>, f<, a

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

2025-09-17 Thread Tim Düsterhus
Hi Am 2025-09-05 17:53, schrieb Nicolas Grekas: Hello internals, Following the discussion that started at https://externals.io/message/128226#128456 I wrote this RFC to formalize our consensus on the topic. TL;DR, this is about converting the deprecation of __sleep and __wakeup to a docume

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

2025-09-17 Thread Tim Düsterhus
Hi Am 2025-09-10 18:17, schrieb Nicolas Grekas: 2. The examples are biased. As an example, the initial “User” example has a serialization hook that is completely useless. The other examples try to replicate `__sleep()`'s broken behavior exactly, which seems to be a relevant requirement in t

Re: [PHP-DEV] RFC Karma

2025-09-17 Thread Ilija Tovilo
Hi Robert On Fri, Sep 12, 2025 at 8:11 PM Robert Wolf wrote: > > [snip] and would like to submit an RFC to that end. > [snip] > My wiki username is "rposky". I have granted you RFC karma. Good luck! Ilija

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

2025-09-17 Thread Nicolas Grekas
Hi all, Hello internals, > > Following the discussion that started at > https://externals.io/message/128226#128456 I wrote this RFC to formalize > our consensus on the topic. > > TL;DR, this is about converting the deprecation of __sleep and __wakeup to > a documentation-based soft deprecation: >

Re: [PHP-DEV] [RFC] Add pack()/unpack() support for signed integers with specific endianness

2025-09-17 Thread Tim Düsterhus
Hi Am 2025-09-17 09:09, schrieb Alexandre Daubois: I'm not sure to exactly understand what you mean. Do you propose to introduce < and > modifiers and deprecate some letters, if I get it right? I'm proposing to introduce the `<` and `>` modifiers, following Perl's lead. This would then allow