Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128731 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 EABDE1A00BC for ; Fri, 26 Sep 2025 07:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1758870980; bh=e4HAUqwDSIwChZYwpobmkS605xJjRSgbwJcANKURBwc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FlQkomfblDk/pmEpDKcxnuTxE3fFWdD3zfies8A6iXjFcFg+2evUA59e1M53JVg6b xYOSZI1H9mypuPAWCF9yvWrbx/nax13HaUFzadNdO5b+MS9Y0AxKyrO5AZ1YO+xros iX877tgmaDfwj7uxCndHHA1m3TJXuwABx9xvdyQbLV+QSyd8vQrndvHOQVWwUNkxYW 62jq3CmRnP6wXXjbok7N47IkFL2fjCb9rrHflFn8LaxDdoQ97X7rF7BAoGjJmj4WGi TlkA3ktkObxi58XvW4T+/nVc6L59mxTPKz97SbbtapxtlWHiqGoTsI3jvsTyVT539c JV+V2ilpbx2eg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B0A7A18006E for ; Fri, 26 Sep 2025 07:16:16 +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_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,T_SPF_TEMPERROR autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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, 26 Sep 2025 07:16:16 +0000 (UTC) Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-62105d21297so3624633a12.0 for ; Fri, 26 Sep 2025 00:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758871056; x=1759475856; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=e4HAUqwDSIwChZYwpobmkS605xJjRSgbwJcANKURBwc=; b=Bpi0so0i6E4uji2M8IAGTAhznwrCCmUrrJ6AgedQ3ICwgDroknFt8Ji6pF/vlFjpJC T66vhMHp4V0yVdkROu0YvDKD5mW1s5IRc/z8MixGFfQ5ZhQ7GST2YtS0fCIfVIT/G4LR l3uNsMmT/EQEQNB+0NKjkqUgTIj7npFhDt+CjmwA2xbtDKxd2sRjRG2zFNmUyEjBFQ63 v2bvjMIPlbSiljETJFgRktQ2wAsH8WSw0s+Jam9yXpYjz+qaBYZrPPZdVIqlaXahHuff wnRmxTzNUv9MNccjonjXtFM/aPM36U8RFRDc+00XdcCmA4Kcui9BAQZYrxWVrr8GnFBI notQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758871056; x=1759475856; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e4HAUqwDSIwChZYwpobmkS605xJjRSgbwJcANKURBwc=; b=Jq07j83mYxCRtCPOFN9pkFnsoHE00PetvjMoUTrUD5kBDDl4EPFxbNFSkz6xm+7nNF tpMo9lzV03GNZMuk0APYrGm4Ki1+OsbvUorcgR7A4+bkV89vQRs4WhUdivPjn7osRJEB V+OYv9vk8s9AgXfaoz8VhwniqrNSdV4ugH12ZFzhGHHnowdJ2XgB82ylh0WZ6UC/IpG5 c7HFsKZ0i8b14KKZZJ9S9XOPpHOPA+hZlhx7EQDlz0T9Bgh7ElynLUp2mw7+8Xf+jmJk RcZDryy+1ywZKXHmLMR3IHTsXbRofi5mowc5r0ePea5GeLkrO9toS6X3ktortZJH7aeR Qjyw== X-Forwarded-Encrypted: i=1; AJvYcCVzq9we+ZuqTCZccHvdkwRXGDc/YCLE3FclUHZJkk8K8Jlj3hjWOBhp4j69+UtH9qb7AgEfyU3byFk=@lists.php.net X-Gm-Message-State: AOJu0Yx126eVnZqS3j1finPn95ewxP+WsXXMmPTWTZsdqyG5Wd7CcIvR lHRYSFllg2jzyaLroxXy8/C5HcKoLYwI0KaxhAKltRuJg75DWDMZx7w/PIo+HczpgmMenK81SoH 6KL4BXq50YG2HmsyKhr1AjlUYH6HRmtIJz7fV X-Gm-Gg: ASbGncuGXpyHKzKr5ca+3CLtAurxeeWMwbDiQOKvVRiwcw9Y/l1FWULSpispKSIr1XC zWXooaiH3ryfqOWyQi9Svz8bsOvig4HVvB0MwrKVi9IDVKHbAoHn1cJiPDTadoL4nAXpWcbDVvi vv3tfbAWvM4vWFvQoqnqRLijpiFgwNzvWYD4oBhOAxrZhxyDidb+sNCgRBH+cuHe0v6lpQFsAWX EXOuqzpA9vYZcAIzThTHKn7NWDf3md/p+d+fR1ZvElF30cnlFaX X-Google-Smtp-Source: AGHT+IFDoMoLxs4c3U/8M9OfNPwRn0Ks/USB9LJn17pHJ1S2bUZLAdL510FyyDiyQAj2QBCcdM5jQYWubNTc5U7VUuI= X-Received: by 2002:a05:6402:3059:b0:62f:2c1a:920d with SMTP id 4fb4d7f45d1cf-6349f9f5788mr4398004a12.5.1758871055733; Fri, 26 Sep 2025 00:17:35 -0700 (PDT) Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: <327029177342d39a2a29051c3f28062b@bastelstu.be> In-Reply-To: Date: Fri, 26 Sep 2025 09:17:24 +0200 X-Gm-Features: AS18NWBPh2VDl5xKGiX5hxQMl_s5i4CExPv3Aja5U3gp7JPB7C4TOf0khqYCUPk Message-ID: Subject: Re: [PHP-DEV] [RFC] Add pack()/unpack() support for signed integers with specific endianness To: Rob Landers Cc: =?UTF-8?Q?Tim_D=C3=BCsterhus?= , PHP internals list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: alex.daubois+php@gmail.com (Alexandre Daubois) Hi Rob, > It will make it hard or impossible to justify adding something to PHP tha= t isn=E2=80=99t in Perl. The fact that they=E2=80=99re different is a boon = and a curse. That being said, nobody has really changed this or proposed an= ything PHP specific in a long time. That's right. However, if I'm correct, the proposed change in this RFC _should_ be the last addition as all types of data and endianness should be supported. But I get your point indeed, it would set a "legal precedent" on something that may not need one. > Which begs the question, what will be the next version of PHP? 9.0 or 8.6= ? The next version is likely to be 8.6. The 8.5 branch has been cut this week and the NEWS file now targets 8.6 on master when we (up)merge changes. =E2=80=94 Alexandre Daubois