php-src
php-src copied to clipboard
php_uname doesn't recognise Windows 11 and Windows Server 2019/2022
Description
The following code:
<?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
Yes, this is not correct, but I already commented on PR #7816, that I think this is more a feature request than a bug fix.