Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127725 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 E9FC91A00BC for ; Thu, 19 Jun 2025 16:08:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750349183; bh=sNuShnSmpCNTMASdCZ4vci53EorXhdJxBGj/09NMfKQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=D05QuoW4awYWCwx7sD7k7ZRPjOOGkasIppaFPwIluDRUN1shJGoDoqUYA3ryYNwri spDgE7rFNj6NVm0ETiPYb9jXhjbpTD+HqFwMt3hBSj0ZpCjw3HO3o4rIqw6Id0Z528 +sevUnNmAe9iH9QYp52yIZnQpI0wuOsaiw/d+9v0S7TKC+4wZx6YsMKWN+97DGxn3m 6kaUg4L5jDYZwSf2zixwLKuMQmuhUiaxMeV2wE1qw6XIa0E0Eb+64mc4RE9wLGCIIV Wf8Ti/QG5a0aifPLrRfEzb5mZatiO5ClCrBNRdz30EIPOQTPixmSdzYFw+Welt1qEb COCbdkF+jK3Cg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3FBAA18004D for ; Thu, 19 Jun 2025 16:06:23 +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.0 required=5.0 tests=BAYES_20,DMARC_MISSING, 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 supercat.cmpct.info (supercat.cmpct.info [71.19.146.230]) (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:06:22 +0000 (UTC) Received: from smtpclient.apple (fctnnbsc38w-142-162-45-112.dhcp-dynamic.fibreop.nb.bellaliant.net [142.162.45.112]) by supercat.cmpct.info (Postfix) with ESMTPSA id B9F9175FC8; Thu, 19 Jun 2025 16:08:18 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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 In-Reply-To: Date: Thu, 19 Jun 2025 13:08:06 -0300 Cc: php internals Content-Transfer-Encoding: quoted-printable Message-ID: <73D7B135-ABF8-4EFC-BF16-EA26A5BD1B7A@cmpct.info> References: To: Marc Bennewitz X-Mailer: Apple Mail (2.3826.600.51.1.1) From: calvin@cmpct.info (Calvin Buckley) 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 I think the biggest arguments against this would be: - 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? - WebAssembly; I don't know how widespread the Memory64 proposal is yet. We're using WebAssembly in the docs pages for runnable examples. And some niche cases like i.e. iSH (which emulates x86-32 on iOS). 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.=