rfc:http-last-response-headers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:http-last-response-headers [2024/01/29 11:55] – Open vote girgiasrfc:http-last-response-headers [2024/02/29 16:42] (current) – Implemented girgias
Line 4: Line 4:
   * Date: 2024-01-03   * Date: 2024-01-03
   * Author: Gina Peter Banyard <girgias@php.net>   * Author: Gina Peter Banyard <girgias@php.net>
-  * Status: In Voting+  * Status: Implemented in PHP 8.4: https://github.com/php/php-src/commit/47a199c8b43dbf84e66ff6b63f665541ab4eb1d0
   * Target Version: PHP 8.4   * Target Version: PHP 8.4
   * Implementation: [[https://github.com/php/php-src/pull/12500|https://github.com/php/php-src/pull/12500]]   * Implementation: [[https://github.com/php/php-src/pull/12500|https://github.com/php/php-src/pull/12500]]
Line 14: Line 14:
 variable is magically created in the local scope whenever an HTTP request is performed through PHP's stream layer, variable is magically created in the local scope whenever an HTTP request is performed through PHP's stream layer,
 i.e. when using the [[https://www.php.net/manual/en/wrappers.http.php|HTTP wrapper]]. i.e. when using the [[https://www.php.net/manual/en/wrappers.http.php|HTTP wrapper]].
-One such usage is using <php>file_get_content()</php> to retrieve the content of a URL.+One such usage is using <php>file_get_contents()</php> to retrieve the content of a URL.
  
 The [[https://www.php.net/manual/en/reserved.variables.httpresponseheader.php|$http_response_header]] The [[https://www.php.net/manual/en/reserved.variables.httpresponseheader.php|$http_response_header]]
Line 102: Line 102:
 As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted. As per the voting RFC a yes/no vote with a 2/3 majority is needed for this proposal to be accepted.
  
-Voting started on 2024-XX-XX and will end on 2024-XX-XX.+Voting started on 2024-01-29 and will end on 2024-02-14.
    
-<doodle title="Accept Add http_(get|clear)_last_response_headers() function RFC?" auth="girgias" voteType="single" closed="false">+<doodle title="Accept Add http_(get|clear)_last_response_headers() function RFC?" auth="girgias" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/http-last-response-headers.1706529348.txt.gz · Last modified: 2024/01/29 11:55 by girgias