Re: REQUEST_TIME change in PHP 5.4
| From: | Damien Tournoud | Date: | Tue, 27 Dec 2011 18:37:28 +0000 |
| Subject: | Re: REQUEST_TIME change in PHP 5.4 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57135@lists.php.net to get a copy of this message | ||
On Sat, Dec 24, 2011 at 7:07 AM, Pierre Joye <pierre.php@gmail.com> wrote:
> Right, and that's why I would be in favour of a BC change, maybe by
> introducing a REQUEST_TIME_FLOAT instead, so people willing to use the
> float version can still have it while the existing code needs no
> change.
We spotted the same exact thing when doing the first tests of Drupal
on PHP 5.4, which lead to the following change (already released in
all the affected versions of Drupal):
http://drupal.org/node/1209470
Given how most of PHP miserably fails to handle float timestamp, I'm
in favor of reverting the change too.
Damien