time(); after 2038?

1.3k Views Asked by At

Will the php function time(); be functional after the year 2038?

2

There are 2 best solutions below

3
Alix Axel On BEST ANSWER

Of course, when the time comes PHP 42.1.3 will natively support 64-bit integers.

10
fedmich On

Yes, it should be. But let me run that code in my VirtuaBox and changed the date as well in there.

you know it could be fun to try it out :)