Re: [PHP-DEV] [RFC] Add http_(get|clear)_last_request_headers() function

2024-01-30 Thread Nicolas Grekas
Hi Gina, I would like to propose an RFC to add the functions > http_get_last_request_headers() and http_clear_last_request_headers() to > PHP to replace the magic variable $http_response_header. > > Link: https://wiki.php.net/rfc/http-last-response-headers > Sorry I missed this RFC. In Symfony'

Re: [PHP-DEV] [RFC] Deprecate implicitly nullable parameter type

2024-01-30 Thread Nicolas Grekas
Hi Gina, Máté Máté Kocsis and myself would like to propose deprecating implicitly > nullable parameter types. > > The RFC is available on the wiki at the following address: > https://wiki.php.net/rfc/deprecate-implicitly-nullable-types > Thanks for the RFC. I have the same concerns as Larry but

[PHP-DEV] [RFC] [VOTE] Add http_(get|clear)_last_response_headers() function RFC

2024-01-30 Thread Gina P. Banyard
On Monday, 29 January 2024 at 11:59, Gina P. Banyard wrote: > Hello internals, > > I just opened the vote for the Add http_(get|clear)_last_response_headers() > function RFC: > https://wiki.php.net/rfc/http-last-response-headers > > Vote will run for two weeks and end on the 12th of February 202

Re: [PHP-DEV] [RFC] [VOTE] Add http_(get|clear)_last_response_headers() function RFC

2024-01-30 Thread Kamil Tekiela
I think it might be even better to extend it by 2 weeks. It looks like people were unaware that the voting has started on this RFC. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] [VOTE] Add http_(get|clear)_last_response_headers() function RFC

2024-01-30 Thread Gina P. Banyard
On Tuesday, 30 January 2024 at 21:05, Kamil Tekiela wrote: > I think it might be even better to extend it by 2 weeks. It looks like > people were unaware that the voting has started on this RFC. > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://

Re: [PHP-DEV] [RFC] [VOTE] Add http_(get|clear)_last_response_headers() function RFC

2024-01-30 Thread Kamil Tekiela
Sorry, my bad. I thought the vote started 2 weeks ago. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Add http_(get|clear)_last_request_headers() function

2024-01-30 Thread Gina P. Banyard
On Tuesday, 30 January 2024 at 08:48, Nicolas Grekas wrote: > > In Symfony's HttpClient, we use stream_get_meta_data($h)['wrapper_data'] to > access headers, so there is already a way to get them using nothing but > local scope. > > This makes me wonder why, in "rejected ideas", you wrote this