Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129579 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 DCEAD1A00BC for ; Wed, 10 Dec 2025 08:08:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1765354136; bh=n6MyYKxgCTHKm/5wn4rh0Qly0V1fi+5kkkiJcYnLbgo=; h=References:In-Reply-To:From:Date:Subject:To:From; b=cfXI4iDa+K3CVTLml7zEcEMx9f+905bF79KPIBERiq1/Fkjr/OveKkzRRpvZDTyBz nsjQSWL42QMKCyxPUsKcmuG/LDeR+6nX+m8p+q2q8ph6oBzIG9Xi1t312D1IlyUm2O XYLuBF870pRvxU/KS5ocxCJW959cbS/b1nHQgdYS+lbUx+8oGbmw3/JvfCM+LR/00u caTo1Rm/ns1YRCok5ZZZS2gftL/04hRbx5AFupmW1+VnLEsEAWsaumeQXCAPMAoKVN VwxbnqP9DHUCOb0TbeBZn5qK7HIsWy0gol5p/TqTQD09hDgjqwTFXAnkWpBvRV2Kw3 WXWqasXJrtXRA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B10DF180050 for ; Wed, 10 Dec 2025 08:08:55 +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,FREEMAIL_FROM, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 ; Wed, 10 Dec 2025 08:08:55 +0000 (UTC) Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-b73a9592fb8so155652766b.1 for ; Wed, 10 Dec 2025 00:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765354129; x=1765958929; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=n6MyYKxgCTHKm/5wn4rh0Qly0V1fi+5kkkiJcYnLbgo=; b=XE1upuj6NGw3efbwqnklPoZLpHvaG2HUCssLpGnD2AQ2QIBlgl5Z9Q0FWSsrOuAcUk HWylWEG/uMDB/0e04D2JVj/2tRztrTQmc7R/JZw/9ljKByshrJIMPnnJXP3IhoHbTHXM pqh5557dEZwfFpIEdaXtD1uSLI4AdKNfmHbDM7HcmO2Bgi7jcM8qkHy/z5vT9LRFS/zJ st6Agc85GhU4ZnefF0DFV5fhhk4zWUeZUDUO3g/XbAlbFC6AOKa6DRTfF1ukf8tX1sgT JCfzel/SsDzm1dhGQb39pTM3T1gSRpWXRJylAh5lXstIqH5ySh5KNvKPfwS2T0TwifbN Ijfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765354129; x=1765958929; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=n6MyYKxgCTHKm/5wn4rh0Qly0V1fi+5kkkiJcYnLbgo=; b=T4c4eAySrYqNTRFoA52dfUyTSM8tE1uFgzCeUnoUk8WZbZlRjOb2Fv+3L8J2qXGMal t2fb2l8WisHjDE3unb4wTp743WIOq6YBTtqlBJT3N0pnfAjn0D3Dwj3xSHUpjnPI3aaB HNmJrLtRUgWO+d13IoE2cJT2XBAci+DmpChBFeAshtCwNM6lmtMe25/09I2jyuyjt5Pm 1LF6KytJ43kynKAsakXKzDBfg3sfjt5TiIi0A0botMEiEfvdQdgtO/c7UULhRRS++Mjk ZY0qP+elUsn882nzEp2hZbrniGiP0LYgFA2/JjbkCkH85qdSOQ7DkJlwdF1Fn4ftD7tO Z3xw== X-Gm-Message-State: AOJu0YwQMoqhczMxS+z69caYQ4PX22APuWWlclQXtGnAfg/BPq9O5GR1 n2Y6qIvj3dW6WX4XK9XDHB9ubC9NvaWpr+d7TjTyetlXryufGvy+98TGhMscXziH3dtok2fNpDn WuhVrN1eCwjk+MM1n/M5+0j9WGcmbqVIX6kgW X-Gm-Gg: ASbGncuj46GLyeqN4UMm90V7Qng+KnmYz8t0TpIG0H2IL7p6UeKZX9WCzjZCgWY5T30 8QM12ZtWTu/sNJXphE04KQKNyZzeMrWTjVaLLc4e7kK6spVTsp42GB+nVF4xnt9zf2ZHVBJ0Baa o3eynPSwvUc9bAPWt39OqFsnQ0jWU/ucBZF8785nVn+yJCJFUd/cdEeMuSwmw/au9FVspTsIlJU cJ4pypAP2CPKQfjvi9JExsn0oOIcYaHjHxRBBcgmtct5D+/uAMC07kSpqvRcQxcKxNqtlcsczSq qbvLorufzaboAQ== X-Google-Smtp-Source: AGHT+IGK2WfNYnlp/zQRwigaBU+JOvkcEUWCLpMwCdHfFre61n9yi6VRxLWc2K5dGaUnuSjp85JT5bG3LkLfxNAZXGE= X-Received: by 2002:a17:906:c146:b0:b07:e258:4629 with SMTP id a640c23a62f3a-b7a6e4c728amr504065366b.16.1765354128825; Wed, 10 Dec 2025 00:08:48 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 10 Dec 2025 09:08:37 +0100 X-Gm-Features: AQt7F2qnOI0LjOQqCwNCLRbidE3CjWsSQ2jk7mWCKnSITuTbrR9EhckoxXHOhyg Message-ID: Subject: [PHP-DEV] Re: [RFC] Add pack()/unpack() support for signed integers with specific endianness To: PHP internals list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: alex.daubois+php@gmail.com (Alexandre Daubois) Hi everyone, > I=E2=80=99d like to present this new RFC. When discussing the issue, we f= irst thought that the RFC process wasn=E2=80=99t necessary. However, discus= sions on the PR showed that selecting new letters for pack and unpack is mo= re challenging than we initially thought, thus creating an RFC for this cha= nge. > > Here is the link to the RFC: https://wiki.php.net/rfc/pack-unpack-endiann= ess-signed-integers-support This is a friendly reminder of this RFC. It's been 2 weeks since the last discussion took place. I think the RFC is ready. We're arriving at the holiday period, which is why I'm not starting the vote soon. I plan to start the vote in January, after the holiday period. In the meantime, if you have any feedback on the RFC, please let me know! =E2=80=94 Alexandre Daubois