Hello everyone,
Following the recent successful vote of the RFC adding the support for
endianness modifiers on integers, I'd like to present the natural
continuation of it. It will complete the support of endianness
modifiers across relevant format letters of pack()/unpack().
Here is the RFC: PHP: rfc:pack-unpack-float-endianness-modifier
Thanks!
— Alexandre Daubois
Hi
On 1/30/26 10:51, Alexandre Daubois wrote:
Following the recent successful vote of the RFC adding the support for
endianness modifiers on integers, I'd like to present the natural
continuation of it. It will complete the support of endianness
modifiers across relevant format letters of pack()/unpack().
Here is the RFC: PHP: rfc:pack-unpack-float-endianness-modifier
Thank you for the RFC. This sounds like a straight-forward follow-up for the previous RFC.
The only comment I have would be that it would make sense to list deprecating g, G, e, and E as a Future Scope option to further align the behavior with Perl, which doesn't support g, G, e, E. It is not necessary or expected that everything from Future Scope is done, it is just a list of things that would be possible as a follow-up, deferring figuring out the details to a later point.
Best regards
Tim Düsterhus
Hi Tim,
Le ven. 6 févr. 2026 à 21:23, Tim Düsterhus <tim@bastelstu.be> a écrit :
The only comment I have would be that it would make sense to list
deprecating g, G, e, and E as a Future Scope option to further align the
behavior with Perl, which doesn't support g, G, e, E.
Thank you for this feedback, I just added the "Future Scope" section
with your suggestion. It makes sense to me as well.
— Alexandre Daubois
Hello everyone,
Le ven. 30 janv. 2026 à 10:51, Alexandre Daubois
<alex.daubois+php@gmail.com> a écrit :
Here is the RFC: PHP: rfc:pack-unpack-float-endianness-modifier
Almost two weeks have passed since the last minor change made to the
RFC. I plan to open the vote this week if no one opposes it.
Thanks,
— Alexandre Daubois