Re: New function http_response_code() to PHP5.4 Branch
| From: | Kalle Sommer Nielsen | Date: | Fri, 17 Jun 2011 22:18:18 +0000 |
| Subject: | Re: New function http_response_code() to PHP5.4 Branch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53365@lists.php.net to get a copy of this message | ||
Hi Paul
2011/6/18 Paul Dragoonis <dragoonis@php.net>:
> Hi there,
>
> I'm requesting my function be put into the 5.4 branch.
>
> I added a function back in the 5.3 phase to obtain missing
> functionality of HEAD.c (and /ext/standard/ in general), but since it
> wasn't a bug fix then it wasn't suitable to add to a 5.3.x series.
>
> The function is http_response_code() - Link:
>
> http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/standard/head.c#285
>
> when you set the HTTP status code in header("..."); or in the param of
> header, like: header("...", null, 404); then at a later date this
> can't be obtained again by any PHP function.
>
> Can this be added to 5_4 please?
I'll merge it within the weekend
>
> Thanks,
> Paul Dragoonis.
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
regards,
Kalle Sommer Nielsen
kalle@php.net