From: lars at jvinformatik dot com
Operating system: Linux
PHP version: 4.3.6RC3
PHP Bug Type: Date/time related
Bug description: Changed behavior of strtotime()
Description:
------------
The new version of strtotime fails to parse some strings that worked in
previous versions.
strtotime("17:00 2004-01-01") used to return 1072972800 in PHP 4.2.0 but
returns -1 in 4.3.6.
If the order of the string is reversed to "2004-01-01 17:00" it works fine
in 4.3.6 so it's really not that serious, but it probably will break some
old applications that use the incorrect order.
--
Edit bug report at http://bugs.php.net/?id=28024&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28024&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28024&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28024&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28024&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28024&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28024&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28024&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28024&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28024&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28024&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28024&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28024&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28024&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28024&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28024&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28024&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28024&r=float