note 83882 rejected from function.strtotime by mgf
| From: | mgf@php.net | Date: | Mon, 16 Jun 2008 22:14:21 +0000 |
| Subject: | note 83882 rejected from function.strtotime by mgf | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140515@lists.php.net to get a copy of this message | ||
Note Submitter: Bob G
----
In 2038, time() is going to return an invalid number. The number of seconds since January 1970 will
exceed MAXINT.
Knowing this, I'd rather not code anything that relies on time() or strtotime(). I'm
wondering how PHP will evolve to become future-proof?