note 83423 deleted from function.time by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 04:10:49 +0000 |
| Subject: | note 83423 deleted from function.time by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142115@lists.php.net to get a copy of this message | ||
Note Submitter: davidpesta dot spamisveryverybad at gmail dot com
----
miguelangeldavila at yahoo dot com dot mx,
Your example shows that the PHP date() function breaks from the Y2K38 bug. However, it does not show
that the PHP time() function will break on 64 bit systems.
If PHP uses native operating system functions to fetch a timestamp with time(), then the PHP time()
function may work fine on 64 bit systems.
Considering the amazing speed difference between time() and date("U") (which is ~400 times
slower), I suspect that very different processes are at work between the two functions.