It\'s kind of a silly question, but what would be the maximum INT value of a time() and it\'s future date, e.g.
time()
1st January 2999
On 64-bit platforms PHP_INT_MAX does not reflect maximum INT value for 32-bit platforms. Here's how to get it:
PHP_INT_MAX
$max32bitInt = PHP_INT_SIZE == 4 ? PHP_INT_MAX : PHP_INT_MAX>>32;
If you're always using 64-bit platform, just use:
PHP_INT_MAX>>32