Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127687 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 73E061A00BC for ; Mon, 16 Jun 2025 17:02:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750093253; bh=vGgqbQ60Z0aFnEp47t4+JblBD0bvl0+x3h9pU1hDWnU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=QdJykP6Ey7uHlnDKoqVjZkWNn+MqvJCT1ESNTQWki0npK48k99ENso9wOh8jSJ51R ZFaihdwcC9YCIHYAsL0+Ecn6RAZ2VeilOX7c8SQ0F1LkMwDdu4/JWnugYqO9YOozhL bMSnXoQXpYS69q+jI5XsfI8VE3YdYEKxhiKwv8Su2rgyU2gerRO8VCCCS4/agF3uhN OO5OADdzRDiVjQMcz53p5Du5hjIht5jmXdd1xFiNRBPmt7WXBGF1ZiNI9eVIVc7VS5 cqUdZC1NXB7mHOwgq0nZLFXe14xRKEWo9z2QBKWzOdG08EsORi3ywi2JqO60rX5XLX QvY31trS13tfw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D26D7180053 for ; Mon, 16 Jun 2025 17:00:51 +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=-2.1 required=5.0 tests=BAYES_00,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: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from outbound.qs.icloud.com (p-east3-cluster4-host11-snip4-6.eps.apple.com [57.103.84.109]) (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 ; Mon, 16 Jun 2025 17:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=garsi.de; s=sig1; bh=vGgqbQ60Z0aFnEp47t4+JblBD0bvl0+x3h9pU1hDWnU=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To:x-icloud-hme; b=LsEo8KdFbBYJR2c0BrNNzCp3FI4EkokVu3YaLRtrF2whTRI198AE7fYiQyJmMkpR2 fN7CA++RUhM3pZkT8ZD3Vqd+3A9asAOC51u5LHgu2hGjxRKryHopelqXADhWwjGcZi LEf6kHc6w04LgWkGfKOjr1s8tONhdEGq88VX+Zfg3ylassaAoWTHp3wCHplQx8m8LA xZv3oRuEzsHZhHFCmz/YVp/9FfICtUsDbnexdou+RQdEk8ru7I/HQDQj6LPiX8Ib2t Ip9vkCYCiKB2W+Gl1ljs+QMTgceSlIDbwXcPAW6wc6spaMHm8AJm2wmc306Zmrv9OD K5LoT6hVvLtmQ== Received: from outbound.qs.icloud.com (unknown [127.0.0.2]) by outbound.qs.icloud.com (Postfix) with ESMTPS id EDA0C18004A8; Mon, 16 Jun 2025 17:02:47 +0000 (UTC) Received: from smtpclient.apple (qs-asmtp-me-k8s.p00.prod.me.com [17.57.155.37]) by outbound.qs.icloud.com (Postfix) with ESMTPSA id 091D01800375; Mon, 16 Jun 2025 17:02:03 +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] Year 2038 issue In-Reply-To: Date: Mon, 16 Jun 2025 19:01:52 +0200 Cc: =?utf-8?Q?Alexandru_P=C4=83tr=C4=83nescu?= , Marc Bennewitz , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <576B21BE-D5ED-49EB-99D9-731F89DF4DAA@garsi.de> References: To: Robert Landers X-Mailer: Apple Mail (2.3826.600.51.1.1) X-Proofpoint-ORIG-GUID: y5zARxzgr4vTf9sAb_FLJF6XthBeAi2E X-Proofpoint-GUID: y5zARxzgr4vTf9sAb_FLJF6XthBeAi2E X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-06-16_08,2025-06-13_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 spamscore=0 bulkscore=0 malwarescore=0 adultscore=0 clxscore=1030 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.22.0-2503310001 definitions=main-2506160113 From: alwin@garsi.de (Yogarine) Hi all, On 16 Jun 2025, at 17:24, Rob Landers wrote: >=20 >=20 >=20 > On Mon, Jun 16, 2025, at 16:54, Alexandru P=C4=83tr=C4=83nescu wrote: >>=20 >>=20 >>=20 >> On Mon, Jun 16, 2025 at 4:03=E2=80=AFPM Marc Bennewitz = wrote: >> Hi all, >>=20 >> It's 12.5 years only until the timestamps in PHP on 32bit will not = work=20 >> as expected anymore. >>=20 >>=20 >> Hi, >>=20 >> I think that maybe we can already deprecate supporting 32 bit builds. >> And, maybe with PHP 9, or PHP 10, or with a future version that might = exist in about 6/7 years, completely drop 32 bits support. >>=20 >> As far as I checked a bit, all major OSs where PHP could run already = dropped or will drop support for 32 bits builds. >> I expect that at some point even the linux kernel will drop support. >>=20 >> The impacted runtimes will probably be very low. >>=20 >> --=20 >> Alex >>=20 >=20 > 100% agree. We are already running out of space on some bitmasks = (there are a couple with exactly one bit left, or even none in the case = of GC flags) for 32 bit support. >=20 > =E2=80=94 Rob I'm reminded of a recent comment by Derick. He mentioned that usually if = a function can't be provided on a specific platform or SAPI, that = function is disabled for that environment specifically. This allows for = a polyfill to provide an alternative implementation. (e.g. = `getallheaders()`) Considering 32-bit builds will not be able to reliable provide the = `date()` function at some point, what if we deprecate, and later = disable, these integer date functions on 32-bit builds specifically? = This would have 0 impact for 64-bit users and provide a means for users = on legacy or embedded systems to use an alternative implementation (that = perhaps uses a custom Unix epoch, or numeric strings =C2=AF\_(=E3=83=84)_/= =C2=AF). Alwin=