Preparedness for the Y2K38 problem? #50727
Unanswered
Vectorial1024
asked this question in
General
Replies: 3 comments 2 replies
-
In the words of the great Douglas Adams, and also the great Clive Dunn, "DON'T PANIC!!" |
Beta Was this translation helpful? Give feedback.
1 reply
-
I don't think this is a Laravel problem but an industry-wide issue that will be resolved by then. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think 2034 is early enough. If you still run laravel 11 / 12 by then, you are a joke... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TL;DR: Y2K38 is a continuation of the long-past Y2K problem; ref https://en.wikipedia.org/wiki/Year_2038_problem
It seems Laravel is not ready for the Y2K38 problem. For example, I noticed the file cache driver stores the "expires at" timestamp as a 10-digit number, which fits inside the 32-bit int range (the Y2K38 problem) but does not fit inside the 64-bit int range (a proposed Y2K38 solution); the 64-bit int will have a string representation length of 19 (2^64 approx = 9223372T).
We should be prepared early. If we could make it past the original Y2K, then we should be able to make it past this upcoming Y2K38 problem.
Beta Was this translation helpful? Give feedback.
All reactions