From: phpbug at thequod dot de Operating system: Windows XP PHP version: 4.3.4 PHP Bug Type: Date/time related Bug description: strtotime fails on 'Sun, 21 Dec 2003 20:38:33 +0000 GMT'
Description: ------------ I use strtotime to decode the If-Modified-Since header and just noticed that Firebird puts and offset in front of the "GMT". I don't know if this is RFC conform, but it should be recognized by strtotime(), IMHO. Reproduce code: --------------- var_dump(strtotime('Sun, 21 Dec 2003 20:38:33 +0000 GMT')); Expected result: ---------------- -1 -- Edit bug report at http://bugs.php.net/?id=26694&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26694&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26694&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26694&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26694&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26694&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26694&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26694&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26694&r=support Expected behavior: http://bugs.php.net/fix.php?id=26694&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26694&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26694&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26694&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26694&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26694&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26694&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26694&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26694&r=float