Re: [RFC] Add pack()/unpack() support for signed integers with specific endianness
| From: | Tim Düsterhus | Date: | Tue, 16 Sep 2025 14:25:41 +0000 |
| Subject: | Re: [RFC] Add pack()/unpack() support for signed integers with specific endianness | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128706@lists.php.net to get a copy of this message | ||
Hi
Am 2025-09-16 16:10, schrieb Alexandre Daubois:
seems. I guess it would be better to have dedicated functions. I don't think it should be included in this RFC, but that is an interesting idea nevertheless. I'd be really interested if someone comes up with an RFC for this feature!A better
pack() with a streamlined format “description” would probably fit with Ignace's proposed new Encoding extension: https://externals.io/message/127716#127716
Best regards
Tim Düsterhus