5.3.0 |
Prior to PHP 5.3.0, relative time formats supplied to the
time argument of strtotime()
such as this week, previous week,
last week, and next week were
interpreted to mean a 7 day period relative to the current date/time, rather
than a week period of Monday through Sunday.
|
5.3.0 |
Prior to PHP 5.3.0, 24:00 was not a valid format and
strtotime() returned
FALSE .
|
5.2.7 |
In PHP 5 prior to 5.2.7, requesting a given occurrence of a
given weekday in a month where that weekday was the first day
of the month would incorrectly add one week to the returned
timestamp. This has been corrected in 5.2.7 and later
versions.
|
5.1.0 |
Now returns FALSE on failure, instead
of -1.
|
5.1.0 |
Now issues the E_STRICT and E_NOTICE
time zone errors. |
5.0.2 |
In PHP 5 up to 5.0.2, "now" and other
relative times are wrongly computed from today's
midnight. This differs from other versions where it is
correctly computed from current time.
|
5.0.0 |
Microseconds began to be allowed, but they are ignored.
|
4.4.0 |
In PHP versions prior to 4.4.0, "next" is incorrectly
computed as +2. A typical solution to this is to use
"+1".
|