|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-25 23:55 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 11:00:02 2025 UTC |
Description: ------------ Simply expecting for strtotime("next year") to return +1 year instead of +2. Reproduce code: --------------- $nextyear = strtotime("next year"); $now = time(); echo date("F jS Y",$nextyear); echo "<br>"; echo date("F jS Y",$now); Expected result: ---------------- August 25th 2006 August 25th 2005 Actual result: -------------- August 25th 2007 August 25th 2005