php-src icon indicating copy to clipboard operation
php-src copied to clipboard

php_uname doesn't recognise Windows 11 and Windows Server 2019/2022

Open Quppa opened this issue 4 years ago • 1 comments

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

Quppa avatar Dec 23 '21 07:12 Quppa

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.

cmb69 avatar Dec 23 '21 11:12 cmb69