Re: REQUEST_TIME change in PHP 5.4
| From: | Pierre Joye | Date: | Tue, 27 Dec 2011 03:19:09 +0000 |
| Subject: | Re: REQUEST_TIME change in PHP 5.4 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57106@lists.php.net to get a copy of this message | ||
hi Patrick,
On Mon, Dec 26, 2011 at 6:24 PM, Patrick ALLAERT <patrickallaert@php.net> wrote:
> On one side there's a clear BC break which, according to the related
> RFC, is to be considered as a blocker, on the other one, a strong and
> valid argument regarding spreading additional server variables.
> I'm not sure being late in the release process is truely a valid
> argument for accepting a BC break.
> Can't we make some compromise here like making all date/time
> classes/functions work uniformly with ints and floats?
> Working with date/time features based on $_SERVER['REQUEST_TIME'] is
> certainly not something fancy!
I tend to agree with you here, making date works smoothly with both
would be the best way. However it requires more changes and work (and
more risks) that simply add a new server variable.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org