Edit report at https://bugs.php.net/bug.php?id=52555&edit=1
ID: 52555
Comment by: jorrit at ncode dot nl
Reported by: dragoonis@php.net
Summary: Headers_List not returning HTTP Status Code
Status: Closed
Type: Feature/Change Request
Package: *Web Server problem
PHP Version: 5.3.3
Assigned To: dragoonis
Block user comment: N
Private report: N
New Comment:
It would be nice if the status code could also
be set using this function. As mentioned in
another comment, the current method of
using header() is kind of a hack and the
developer needs to provide the irrelevant
HTTP version in order to set the response
code.
Previous Comments:
------------------------------------------------------------------------
[2010-12-11 14:58:08] marc-bennewitz at arcor dot de
Why it's not committed to a branch ?
When it will be available ?
------------------------------------------------------------------------
[2010-12-11 14:47:55] pajoye@php.net
It is committed in trunk (svn trunk).
------------------------------------------------------------------------
[2010-12-11 13:37:05] marc-bennewitz at arcor dot de
Hi,
I can't find the function "http_response_code" within 5.3.4 and no documentation
about it or a message on changelog of 5.3.4.
What does it mean "Committed to 5.3.99" ?
How many years we have to wait :/
It would be very helpful to have some publish time/version.
Greetings,
Marc
------------------------------------------------------------------------
[2010-08-09 15:11:17] kalle@php.net
Committed to 5.3.99
------------------------------------------------------------------------
[2010-08-09 15:10:34] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=302033
Log: Implemented FR #52555 (Ability to get HTTP response code)
- Patch by Paul Dragoonis
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=52555--
Edit this bug report at https://bugs.php.net/bug.php?id=52555&edit=1