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

From: Date: Fri, 26 Sep 2025 07:17:24 +0000
Subject: Re: [RFC] Add pack()/unpack() support for signed integers with specific endianness
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-128731@lists.php.net to get a copy of this message
Hi Rob,

> It will make it hard or impossible to justify adding something to PHP that isn’t in Perl. The
> fact that they’re different is a boon and a curse. That being said, nobody has really changed this
> or proposed anything PHP specific in a long time.

That's right. However, if I'm correct, the proposed change in this RFC
_should_ be the last addition as all types of data and endianness
should be supported. But I get your point indeed, it would set a
"legal precedent" on something that may not need one.

> Which begs the question, what will be the next version of PHP? 9.0 or 8.6?

The next version is likely to be 8.6. The 8.5 branch has been cut this
week and the NEWS file now targets 8.6 on master when we (up)merge
changes.

— Alexandre Daubois


Thread (33 messages)

« previous php.internals (#128731) next »