note 91801 deleted from function.strtotime by crell

From: Date: Thu, 30 Jun 2022 21:03:13 +0000
Subject: note 91801 deleted from function.strtotime by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218821@lists.php.net to get a copy of this message
Note Submitter: Killermonk ---- You are not restricted to the same date ranges when running PHP on a 64-bit machine. This is because you are using 64-bit integers instead of 32-bit integers (at least if your OS is smart enough to use 64-bit integers in a 64-bit OS) The following code will produce difference output in 32 and 64 bit environments. var_dump(strtotime('1000-01-30')); 32-bit PHP: bool(false) 64-bit PHP: int(-30607689600) This is true for php 5.2.* and 5.3 Also, note that the anything about the year 10000 is not supported. It appears to use only the last digit in the year field. As such, the year 10000 is interpretted as the year 2000; 10086 as 2006, 13867 as 2007, etc

« previous php.notes (#218821) next »