Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127726 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 AEF5C1A00BC for ; Thu, 19 Jun 2025 16:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750350005; bh=Kudud4aNw4ZBPwTQOYeIKPvZS6qQ/gassSsW8snepqE=; h=From:Subject:Date:References:To:In-Reply-To:From; b=ik/OpIaRUfNBHEt8CkzYMabfzfKYH5LiKJVcOXU4mAsbvhG8e8EDwuk2WnjHrk1WP qS35zx3cVO/NEFWVmYmR9mjF4uj5E/025xAVV1aKnDIRsnElOozx4CCPZEuupFvsv1 VlDL7LdRqN6mqSD1gVgzb9ZMkS3EP2OhYSYQfCLEOEM1gI8H043ihbbzSoQOrode3L OdlGEA4t0nmH+HdTE4ZhVsbC5to+9tFaYUZYradC0pTnV42BrKrdzC2LiCJIQGUhTA 7q/2redj/eIKM5vfAvxmWkiDm9sY2k4onZyZNR/m+8J+WO/i3H5APlizZVTiYARRPO GGCXk1JD9b8ZA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DC48D180053 for ; Thu, 19 Jun 2025 16:20:04 +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.9 required=5.0 tests=BAYES_40,DMARC_NONE, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 ; Thu, 19 Jun 2025 16:19:54 +0000 (UTC) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-70e767ce72eso9279757b3.1 for ; Thu, 19 Jun 2025 09:21:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750350111; x=1750954911; h=message-id:in-reply-to:to:references:date:subject:mime-version:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BmIbMy1jCvSnjVeDLR+uslBZWYpT4S7ih3qHjeonKrg=; b=Ggk0CvGqsMk6eVjkbDZf5HpXh1wwM9aft6j3esfsdoreYlaU6OrzKbPr+/Tm3+q/qj vykm2+tYAqhzuTCYKDNNPbwLZue/QRmHT7tJVzKouuskMWysFO+8pA6kZ8oKsQ72lox2 sH/u6BP83YhFoUgQqQXxesi9dV76W1/nfAKZANlTaH+WquPxCcCvIsf+batnTQ/T5/b2 yoWBDQiJUVlEmXxjR4XNvBiLNk4iGyEVzZa8PL+xf7geaqUfAgtP1tb5QAP/u9GS5mQE E+hvgxTOyqbBciimVpjWG60vllxpKM11q5vPHlimBnxyMtCXu4lsD9ezB2M7nKnFLwOu DsHw== X-Gm-Message-State: AOJu0Yyot/Rgi4NAtz08QwT38gmEI2cerQKfV9Sclezvy/ermTkLXhMT QRbYecuyuVV5Hm8UZQY0/560KugL5Z07RLzfrYgIGK9E2+zI72V3iZtpJmgiEMBcQkRJdgJLP7k xWr219Edc X-Gm-Gg: ASbGncs5rRy6zCcoSWy42FyAO9IJfvQ5XkPWvJrnrCONiIeU+2WqRlP4UgPYYXmp2JE tYuljhOf2Y5k8/ZPGEtYQr35Aya/pGiqev0959+azoByJXPHPKGZ05MJ3rTOCEKcGmoejCupzD+ S3rU1pQsTLz7Rap9+ppMF4UCDSwNRNCkFzN38gH9gfN6o0tNAjRp2rtb3TCgPaPc7ix4KxLXrxj ahqIutisHq+fGK7bG7drAyLUM7rwJhMQWlt2LhFfNfuetZrRHYf6qnOnO4dwBzzQat8l9zxx/XX /K9CRmiz2s6x7u+79gGlL4s+1rCxIFK9+7VgzPf1frGG2lAh64Bl7NkkN1eFRdYOjceGEX6b8pE ovOPezlika6Iik0F7+HMpCH0jXdWYNENAfUl/PKIFAPj35sbSrg== X-Google-Smtp-Source: AGHT+IFjjf4Gn3z9zJxAgyBXZUps48JtX4JDA/IWbXoHejbkj6hZcZzVOVFbrkkHSt16BnPh8LRs+A== X-Received: by 2002:a05:690c:ed1:b0:70e:70f4:30e9 with SMTP id 00721157ae682-71175462db6mr279496187b3.4.1750350111242; Thu, 19 Jun 2025 09:21:51 -0700 (PDT) Received: from smtpclient.apple (h96-61-170-179.lvrgtn.broadband.dynamic.tds.net. [96.61.170.179]) by smtp.gmail.com with ESMTPSA id 00721157ae682-712c49cbc92sm473657b3.15.2025.06.19.09.21.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jun 2025 09:21:50 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_80C4C737-BB93-4B6F-8DBB-E4DB907A509E"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: [PHP-DEV] [RFC] Drop support for 32bit builds Date: Thu, 19 Jun 2025 11:21:39 -0500 References: <73D7B135-ABF8-4EFC-BF16-EA26A5BD1B7A@cmpct.info> To: php internals In-Reply-To: <73D7B135-ABF8-4EFC-BF16-EA26A5BD1B7A@cmpct.info> Message-ID: X-Mailer: Apple Mail (2.3826.600.51.1.1) From: ramsey@php.net (Ben Ramsey) --Apple-Mail=_80C4C737-BB93-4B6F-8DBB-E4DB907A509E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jun 19, 2025, at 11:08, Calvin Buckley wrote: >=20 > On Jun 19, 2025, at 11:08=E2=80=AFAM, Marc Bennewitz = wrote: >>=20 >> Hi, >>=20 >> During the discussion about the year 2038 issue it turned out that = maybe it's time to drop support for 32-bit of PHP completely. >>=20 >> Based on that I have created an RFC to deprecate 32-bit build in = 8.next and drop support for it in 9. >>=20 >> RFC: https://wiki.php.net/rfc/drop_32bit_support >=20 > I think the biggest arguments against this would be: >=20 > - embedded systems; think of PHP in use for i.e. router web UIs. While = I > suspect a lot of these are going to be i.e. AArch64/RV64 in the = future, > there might be a long tail of existing systems. Of course, how many > would upgrade to PHP 9? >=20 > - WebAssembly; I don't know how widespread the Memory64 proposal is = yet. > We're using WebAssembly in the docs pages for runnable examples. >=20 > And some niche cases like i.e. iSH (which emulates x86-32 on iOS). >=20 > The other options include making zend_long always 64-bit and accept = the > performance penalty for 32-bit, or making 32-bit best-effort rather = than > providing any guarantees. Last night, I was giving some thought to reviving Andrea=E2=80=99s Big = Integer RFC[^1]. This is something I=E2=80=99ve wanted for a long time = (especially for my ramsey/uuid library, among other things). Andrea had a work-in-progress PR[^2]. I=E2=80=99m not sure the current = state of it. It=E2=80=99s from 2014 and was originally written for = phpng. I had planned to start teasing out bits of it into a new branch = based on the current master branch to see how far I could get with it. I = wouldn=E2=80=99t mind some help with that, if anyone=E2=80=99s = interested. :-) If we are able to finish what Andrea started, then we would not need to = drop support for 32bit builds. Cheers, Ben [^1]: https://wiki.php.net/rfc/bigint [^2]: https://github.com/php/php-src/pull/876 --Apple-Mail=_80C4C737-BB93-4B6F-8DBB-E4DB907A509E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQToXQMR3fpbrPOmEOewLZeYnIwHGwUCaFQ5EwAKCRCwLZeYnIwH G0WFAP9BwNtdTW0zOXl3H+EC8H595FNXnzy7gGGZNVLh1h25ngD+MHqhaBynDJkO KOdNSWFJs2pKoz4pQtUryvwKmnSqhmc= =6d0/ -----END PGP SIGNATURE----- --Apple-Mail=_80C4C737-BB93-4B6F-8DBB-E4DB907A509E--