[php-src] Issue #7815: php_uname doesn't recognise Windows 11 and Windows Server 2019/2022
| From: | Quppa | Date: | Thu, 23 Dec 2021 07:31:01 +0000 |
| Subject: | [php-src] Issue #7815: php_uname doesn't recognise Windows 11 and Windows Server 2019/2022 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238539@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7815
Author: Quppa
### Description
The following code:
```php
<?php
echo php_uname();
?>
```
Resulted in this output:
```
Windows NT HOMEPC 10.0 build 22000 (Windows 10) AMD64
```
But I expected this output instead:
```
Windows NT HOMEPC 10.0 build 22000 (Windows 11) AMD64
```
### PHP Version
8.1.1
### Operating System
Windows 11