ID:               26694
 User updated by:  phpbug at thequod dot de
 Reported By:      phpbug at thequod dot de
 Status:           Open
 Bug Type:         Date/time related
 Operating System: Windows XP
 PHP Version:      4.3.4
 New Comment:

summary: it fails on
$d = gmdate("r") . ' GMT';
var_dump( strtotime($d) );


Previous Comments:
------------------------------------------------------------------------

[2003-12-22 12:46:58] phpbug at thequod dot de

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 this bug report at http://bugs.php.net/?id=26694&edit=1

Reply via email to