Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127681 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 800FE1A00BC for ; Mon, 16 Jun 2025 14:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1750085328; bh=a9ROu7LvKB9d5JTngubunm7G2+r3xr8UFPy17/gaJVg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NImDkdyw1+HqpoJuK637pqu7sz6muF/hfYw3+C04kkcku6Yk652+8PjG/3qeMv/9h JuNkOBH/pgWMM3jlgWsNdaO/7faK7l8SPEhAYOqqVmfzOP+ximmgXq+kmsT1FyzcVz PhataoGrscbTsf0j0n0rF2m9NNcUvNc/fl2joqTWeBPDeiIacpoip5JHQDpDMBGzPw VNxAeTQTrFGsRMMD9OGRoqltMSFd47X/9O63odFg5z5V9hEwwyZ8fAR/WDx7dib/4t RScB3InWT7Ccz0tjZecUazrTde2bw42Q2iUKk42OO5olrAxPpzwPGRUMW5FY7uAkxe 5G0a2vAgaARWw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B0149180086 for ; Mon, 16 Jun 2025 14:48:47 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,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-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 14:48:47 +0000 (UTC) Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-32a9e5b6395so38576001fa.0 for ; Mon, 16 Jun 2025 07:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750085445; x=1750690245; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=a9ROu7LvKB9d5JTngubunm7G2+r3xr8UFPy17/gaJVg=; b=WRZYI3KqMzMalgKFjeROp/zfbMgO5P9Yl/5KUxb/8194Qqa17a0bRsBVQXN88gUgH2 QmHstxB2tSTygzJsBQDTivGRlHCho2BNhtNiBrI11JEtVklx6ykixmu+VS0+BvPnsZXm kfVv1IHtojlL+Ecpxab/s5kZeXoPZ/LtxWm1RufoQAzR6k2QO91e45K7cb4Rq7r5SR9P u415UjEXMdL6N/js4ATRIod3yvPMCiuI5S9Otv5xItIlphA+qxsa9FTNjCGixTgEIZ90 Gol5PVQ1y7aFhRHn3LZX1g/jNSFYM6Y9K1GlliptzFT9E4jcocT8+Sqjs+8INdAKD5n9 RqDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750085445; x=1750690245; h=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=a9ROu7LvKB9d5JTngubunm7G2+r3xr8UFPy17/gaJVg=; b=Y2Z90TUUIHioT1SApcqSkWx+/iDFzILAJEkXbf+NOHY0x99EJZPN4O0qYUtOfPmyov 1//ZjAbs8hZxFKuBwGrFie3I48uRrqOQ1L8+DFIaxSTPlgm0iyRq4paOg/jPmxjNju2R 7+tn6uTT7tzmeXny7ao5unqlaEwaqG/DgkWAkwTry4Yufpk5qnBngohnsy8jLVPxk8+p 28MxzrorODOg4Ds6gsSsbF8s/K2LW7bLq3IACcidKNV4EGpkvN+gqoth3TDDmr5w0r34 maU1sI8PnSnBFhVTpmslh6is639xuw8TnAe8emAlKWmmZ5HM1aRmKQcmbEiYuPAPrerG lBPg== X-Gm-Message-State: AOJu0Yy6sFfMwAPrAlUu9Pt8zadfBA/0t4RmSSxEvmJUdPqh3RbvBv4r OnrAl0NgT5OfT/0Wv+bllcCqvI9PdiZvc4A0tWfdgCxzOy90oqh4ZEzDnQvaGVIK3tPrG/208l/ NmNfFYM1JyL5pQmEetkQiNZhed9MXB3s= X-Gm-Gg: ASbGnctPu6K4frkMMkUavawHFnPHpJDqWqyAo2E4fhVAAj65+hDoDXUKp8MZ/4UwgUw LSoxwEN9tbSm7/iFgY51D6gYoqDlAia1Tag3JaZnOGBcKkEduRli2NYiXkmS5+D6rHzYJ09y5xO 3O59KymYg8WyxdnfFQKR7ez6O62cONuLcuXRV9OFOFnto= X-Google-Smtp-Source: AGHT+IHatEOD2t47vLyDG4leUKMn4ObAsuHgqSMe3O8n+aBlC+MJuA8JNAoXVB9sPTZ+aDEWTTyvLW1Y/jJwqd2r8Rg= X-Received: by 2002:a2e:bb9e:0:b0:32a:ec98:e15a with SMTP id 38308e7fff4ca-32b4a5c5202mr19551281fa.36.1750085444609; Mon, 16 Jun 2025 07:50:44 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <4093d14a-8e53-4843-9a07-c7f1d1f339c5@mabe.berlin> <82a558c3-93f2-4c53-bb41-d1030ea0b26e@mabe.berlin> In-Reply-To: <82a558c3-93f2-4c53-bb41-d1030ea0b26e@mabe.berlin> Date: Mon, 16 Jun 2025 15:50:33 +0100 X-Gm-Features: AX0GCFv-yXnrEU-9tEGKSMWnzYAfy1TzgU6Is13nA-frkB4Hqfq3NMkym2m8ZmE Message-ID: Subject: Re: [PHP-DEV] Year 2038 issue To: Marc Bennewitz Cc: php internals Content-Type: text/plain; charset="UTF-8" From: tekiela246@gmail.com (Kamil Tekiela) If you use 32bit version of PHP then of course you will run into this problem. But 32bit versions are used infrequently now, and this is a known limitation. As far as I know, these functions have no issues with year 2038 in 64bit. My point is that these functions work fine and the fact that 32bit is limited isn't a very good reason to deprecate them. If anything, it's a reason to deprecate 32bit versions. Future dates aren't an alien concept. Applications must already account for the year 2038 problem today. PHP has handled this issue a long time ago. If PHP users who use the 32bit version are not ok with this limitation, then they must make an effort to migrate to 64bit architecture.