ID: 28024 Updated by: [EMAIL PROTECTED] Reported By: lars at jvinformatik dot com -Status: Assigned +Status: Closed Bug Type: Date/time related Operating System: Linux PHP Version: 5CVS, 4CVS (2004-04-16) Assigned To: derick New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Fixed for PHP 5.1. Previous Comments: ------------------------------------------------------------------------ [2004-11-24 09:09:08] [EMAIL PROTECTED] The string parsing routines are very complex and this change was definitely not done deliberately. ------------------------------------------------------------------------ [2004-11-24 02:44:26] toro at equillia dot com Sorry, I ment second paragraph. ------------------------------------------------------------------------ [2004-11-24 02:43:27] toro at equillia dot com I've just done a bit of testing on 4.3.9 and 4.3.5 and from what I can tell the new behaviour is a subset of the old behaviour so you can disregard the second sentence from my comment above. ------------------------------------------------------------------------ [2004-11-24 00:29:44] toro at equillia dot com I found that the behaviour changed between 4.3.5 and 4.3.6. So strtotime worked one way in 4.3.5 and when I upgraded to 4.3.6 the behaviour changed. As mentioned above it is just matter of rearranging the string that is passed to strtotime to get the same result. If it is decided to do something about this then I guess as long as any changes incorporate the new behaviour as well as the old behaviour then the changes won't effect people who are accustom to the new behaviour. ------------------------------------------------------------------------ [2004-04-16 16:33:32] [EMAIL PROTECTED] Will have a look at this one too. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28024 -- Edit this bug report at http://bugs.php.net/?id=28024&edit=1