Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130038 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 40F171A00BC for ; Fri, 6 Feb 2026 20:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1770409444; bh=bzECp7W1YKQbdUTMbTb3yUSg0IJUW7z3S0Eju8B57eM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=nuQBO3QwXHm7oUhsTI/m3SwzNIZC+gUyBRo2SuwF8Fq0jOEbL7xeaYbDQWkowsYlL MqEqkcT+FhbtgXtgTaC4rS1qG3nozS54N+715BCblULXXqwund8yg74B1MDk5A6+gr GPx0bp1MWUVtMKo6pnOJS/OLwpyZMGUgD0LfFqPSP9AI8eAQ+EWhkhuvJqtLqzteL4 TJFRCBkDWEH87peJJFaMkOTwcZmEwsbBs5Lbun515hXJIyexSqMr33Alti/AGlwBPc m9rVe63+1BxjUS9YB8HLJnWj2gzFGUB2FW8Bf1l0WqZj7Z/ZtY0UP3TTskvJ8Z8GRo kqvck01mAjSEw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D82F6180050 for ; Fri, 6 Feb 2026 20:24:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 6 Feb 2026 20:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1770409436; bh=4bO4AHBbnqp2hwwGMqgaUXhPXNsiiKdA6KhBJ9q613c=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=IKHsgVliU9MQU3jgqcKybNhBTm+kRZNzVjF2jt4KEO8a6WV+z2V1g9zmggcGiT/YQ l3LR4rxNp/Su7YrssB2hlpH+Jt8FuNmoVXrnctsfIBFMKMHZ481MdcQUVeTbjwFdPW Lmeb6RKHtvAJWu0O7ajZowjORAKY65o4ksdlib3rV/gicBFBdKDZfOMXYROtZC2sZW Oo1nmCKqqWxbqHwJVHgTJgFmmANKld7CANjjioJYzYAPfjhMSt9mShBdh8b0qOUaON noTN1wy6z2pJRA1CmRTJBmp7xF6TZvA3G68PK3h22/LpOJZnbSh2Yf6HM4Vt5M1M+V Wh6sr3VI3nT1Q== Message-ID: <4c602fcd-5b07-4633-b816-a2bf8cb4b5de@bastelstu.be> Date: Fri, 6 Feb 2026 21:23:56 +0100 Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Subject: Re: [PHP-DEV] [RFC] Add pack()/unpack() endianness modifiers for floating-point numbers To: Alexandre Daubois , PHP internals list References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) 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: https://wiki.php.net/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