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

From: Date: Fri, 31 Oct 2025 13:27:52 +0000
Subject: Re: 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-129028@lists.php.net to get a copy of this message
Hi Tim, > I will vote against the RFC in its current state for the reasons that I > outlined before. Given the previous exchanges, I totally get it. Thank you for taking time to discuss this topic! > It's needlessly diverging from Perl by inventing new letters that are > not even internally consistent with the existing letters (lowercase vs > uppercase is 16 bit vs 32 bit, not LE vs BE). It is also still making > the false statement that Perl's approach doesn't work for PHP when we > established during the discussion that it does work, if we want it to > work. It's also needlessly confusing the reader by including information > about a PR #19368 implementation that can easily be mistaken for > something that is already an established fact rather than a proposal. I reworked the wording a bit and labeled the implementation as "proposed PR" instead of "current PR" to reduce potential confusion. Best, — Alexandre Daubois

« previous php.internals (#129028) next »