php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36381 The term "header" is used incorrectly
Submitted: 2006-02-13 16:48 UTC Modified: 2006-03-07 01:42 UTC
From: david at acz dot org Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant 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: david at acz dot org
New email:
PHP Version: OS:

 

 [2006-02-13 16:48 UTC] david at acz dot org
Description:
------------
The header, headers_list, headers_sent and possibly other functions use the term "header" incorrectly (although this is a very common mistake).  See RFC 2616 sections 4.1 and 4.2 for the complete explanation.

Essentially, an HTTP response consists of a status-line, message-header and message-body.  The individual entities in the header are called "header fields", not "headers" as the documentation calls them.

I realize this is a pedantic issue, but that doesn't mean it shouldn't be fixed.  The PHP manual is generally excellent.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-07 01:42 UTC] vrana@php.net
RFC 2616 4.1: "header fields (also known as "headers")".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 12:01:33 2025 UTC