[php-src] Issue #11431: HTTP_USER_AGENT not show Windows 11
| From: | LichKing255 | Date: | Mon, 12 Jun 2023 09:00:11 +0000 |
| Subject: | [php-src] Issue #11431: HTTP_USER_AGENT not show Windows 11 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244661@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11431
Author: LichKing255
### Description
The following code:
```php
echo $_SERVER['HTTP_USER_AGENT'];
<?php
```
Resulted in this output:
```
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0
Safari/537.36
```
But I expected this output instead:
```
Mozilla/5.0 (Windows NT 13.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0
Safari/537.36
```
### PHP Version
8.2.4
### Operating System
Windows 11