Re: [RFC] Add pack()/unpack() support for signed integers with specific endianness
| From: | Alexandre Daubois | Date: | Fri, 21 Nov 2025 10:46:49 +0000 |
| Subject: | Re: [RFC] Add pack()/unpack() support for signed integers with specific endianness | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-129356@lists.php.net to get a copy of this message | ||
Hi everyone,
> I’d like to present this new RFC. When discussing the issue, we first thought that the RFC
> process wasn’t necessary. However, discussions on the PR showed that selecting new letters for
> pack and unpack is more challenging than we initially thought, thus creating an RFC for this change.
After rereading the threads and spending some time thinking about it
all, I propose a new version of this RFC aimed at adding Perl
modifiers. Indeed, this seems to be a better solution than the one
previously proposed, and several people seem to share this opinion.
The RFC URL is the same and its version has been bumped to 1.1:
https://wiki.php.net/rfc/pack-unpack-endianness-signed-integers-support
Looking forward to reading your feedback on this revision.
— Alexandre Daubois