Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129021 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 574111A00BC for ; Fri, 31 Oct 2025 11:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1761908897; bh=ANUQhcPk8TIadZ72rguZXSjoiqdG+RYP1UQ/WWxxC0M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=coW9xLNIYl0ZbnZz+D7NWqKI3Zyw9eD5EgV22T2HknIHYTmDAR0AejvSGU9oxYikH 1k7Oi+Tjjx6bm+CyFDOUwcdKNXvdWAffGL0mDxkqRiMIzKvnVIVuHaSG8qaAvW3D7d pP9sYUGBZ9kMsnL8JvzZxPwShDLPgwtOVR0yaU1I8ksBsgtXb+HwpJt76T47DwM7sW RUeWh4YazDnCqoxbOns8BkTbX97zTJz/N5Fp+6h39cKQ1ig+rD+aaxi8uTS1TvggCs obF/E3Dz/66gKDWUvqxR5qLbbo5IsDYeZbjgQqTfoDFHl5cB2KbPgnjDG7HXm1++7K Qp3eeQLDAbcuw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 68B9218002E for ; Fri, 31 Oct 2025 11:08:13 +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.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, T_SPF_TEMPERROR 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, 31 Oct 2025 11:08:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1761908876; bh=8m8QvzbnfsHrxpwWW7Gwy7724IsVH6kjUDsWejnmL1k=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=BFmFc54kBvWJ42gl4LIA0kprLIz7+SpZYs8iUiN9zYU4rPwxi9UVVhJZKMJmQmpXT /wmSRRF5l6DbA2n7ScDLcFqY1MYpxOHW+ho/bZwrEM3Ji8bYnyBk7/k2+EVS1lQHyu yWfSRdLSu0/L1xF1cfoNJABQVOpRqhkyppV9PrgIbMLRuOa1PQKfve1z4rMefV+ZDg oh9gasffQgSBnnXwBMZ69xZmgxIbjmqpEyO51P4pZb6xH6+dhWunV8k67vuMlMGFi7 e6QNzdlWRPhCJWpWhJm0vPcllmDW+7yDZrkSbErJfcOzq0MwC3y23q2UdDx0/0lGNn DPXvS7UZW6icQ== Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 31 Oct 2025 12:07:56 +0100 To: Alexandre Daubois Cc: PHP internals list Subject: Re: [PHP-DEV] Re: [RFC] Add pack()/unpack() support for signed integers with specific endianness In-Reply-To: References: Message-ID: <86c27cd68c8ba8056d832a845eb15dcd@bastelstu.be> 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 Am 2025-10-31 10:29, schrieb Alexandre Daubois: > If no concerns are raised in the next few days, I'll open this RFC to > the vote in its current state. I will vote against the RFC in its current state for the reasons that I outlined before. 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. Best regards Tim Düsterhus