[php-src] Issue #16068: HTTP 425 Too Early missing text in http_response_code()
| From: | kkmuffme | Date: | Wed, 25 Sep 2024 22:47:45 +0000 |
| Subject: | [php-src] Issue #16068: HTTP 425 Too Early missing text in http_response_code() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247910@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/16068
Author: kkmuffme
### Description
The following code:
```php
<?php
http_response_code( 425 );
```
The response status header does not include the text "Too Early"
It's missing in https://github.com/php/php-src/blob/master/main/http_status_codes.h#L61
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425
### PHP Version
8.3.x
### Operating System
_No response_