Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128712 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 33E051A00BC for ; Wed, 17 Sep 2025 08:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1758097717; bh=N/ejqnP4B1esMiiprpgTYyGb7LszJVRY5OvY7I9fIic=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=miuVB+hbjgrMr21e8p0lu/5dzNS4QH8JtysAqae8jovidkSBZ1aPlEOrRjLkD8/Io PmHzK1lAYcFBEG/kU7YJg6Uy7N9zULfIt8CxtnpVbKCmPWirg800y6psFER4CGDe/P xfDiAR4hd20Gn+Yfr7UKkx/J5M+pzsR1bu31qRi6nDrpVxCHZjtNGyTe+fyDKs2MT5 EsCyixjy+ZtyJ8uAZ9dWRQsRSnqqpaI9X+hp2+cDaX5lU+g+ob4eAhpPB7FwUgKT4B qPE8zKwvlH6xo82CBBmaOdA/5bYcc0thOxPE5/eONW0ExzHXQzTT7Wq4GgV0ozH8d5 kx7bY2Rzlg5ng== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 85CB7180082 for ; Wed, 17 Sep 2025 08:28:36 +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, 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 ; Wed, 17 Sep 2025 08:28:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1758097798; bh=ij+XrVYIkSGE5Kylm86Ays9joTZrtcidhshFCVLVmBI=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=NuwtWx99bbhdjeQnhBacmrnC1OdGztZ6lAUD9jOnNUAXRMl7X4P5+XUME/uhZPTv9 A0PdgEhUIXwYrOCAufDVfaOnI/xZPcczoyEiqhzOcpVeKI/HSnA0hnz6urlkKewjIy tb90H1MZDPyes+zzs/V4C8bLc8AGSOHKTrEvUKgiT5/+0suVYJmaJavdwa0cFqUFjQ 1vS3cIT5/qmRTIc3iw3g6IN120dAKZoPZhGTsrtMlLlbrdQTu5gjDMMjRINtLRVbLL YX890ZsJt8UgXWVGBqE+aPIphCUraUYoY4H9rsh5E/y0FhsYb07AhkrjUat0QTyXTU Cdnvs22aqlXtA== Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Wed, 17 Sep 2025 10:29:57 +0200 To: Alexandre Daubois Cc: PHP internals list Subject: Re: [PHP-DEV] [RFC] Add pack()/unpack() support for signed integers with specific endianness In-Reply-To: References: Message-ID: <327029177342d39a2a29051c3f28062b@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-09-17 09:09, schrieb Alexandre Daubois: > I'm not sure to exactly understand what you mean. Do you propose to > introduce < and > modifiers and deprecate some letters, if I get it > right? I'm proposing to introduce the `<` and `>` modifiers, following Perl's lead. This would then allow to deprecate e, E, g, and G in a future version and if / when that happens, PHP would be in sync with Perl again. I'm not proposing that the deprecation should happen at the same time, because folks should have at least one PHP version to migrate where the new logic is available, but the old is not yet deprecated. Best regards Tim Düsterhus