php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #1512 invalid HTTP-date in header() example
Submitted: 1999-06-08 19:32 UTC Modified: 1999-06-09 00:21 UTC
From: szaka at sienet dot hu Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.9 OS: any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: szaka at sienet dot hu
New email:
PHP Version: OS:

 

 [1999-06-08 19:32 UTC] szaka at sienet dot hu
On http://www.php.net/manual/function.header.php3
the always modified (Last-Modified) example gives an
invalid HTTP-date (no space between time and GMT),
e.g:
Last-Modified:......23:59:40GMT 
this crashes some browser/robot.

The simplest fix is changing  "GMT" to " GMT".

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-09 00:21 UTC] paul at cvs dot php dot net
fixed in cvs
 [2022-04-12 10:24 UTC] git@php.net
Automatic comment on behalf of saundefined (author) and web-flow (committer)
Revision: https://github.com/php/doc-en/commit/764e22fefc8a3e46928a3f37bfd0b01789e5ac5f
Log: Update `array_combine` return values section (#1513)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Jun 19 00:00:02 2026 UTC