[PHP-DEV] New function http_response_code() to PHP5.4 Branch

2011-06-17 Thread Paul Dragoonis
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?

Thanks,
Paul Dragoonis.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] New function http_response_code() to PHP5.4 Branch

2011-06-17 Thread Kalle Sommer Nielsen
Hi Paul

2011/6/18 Paul Dragoonis dragoo...@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
ka...@php.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] New function http_response_code() to PHP5.4 Branch

2011-06-17 Thread Paul Dragoonis
On Fri, Jun 17, 2011 at 11:18 PM, Kalle Sommer Nielsen ka...@php.net wrote:
 Hi Paul

 2011/6/18 Paul Dragoonis dragoo...@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

Cheers Kalle!


 Thanks,
 Paul Dragoonis.

 --
 PHP Internals - PHP Runtime Development Mailing List
 To unsubscribe, visit: http://www.php.net/unsub.php





 --
 regards,

 Kalle Sommer Nielsen
 ka...@php.net


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php