|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-12-22 12:46 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 16:00:01 2025 UTC |
summary: it fails on $d = gmdate("r") . ' GMT'; var_dump( strtotime($d) );