[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Quppa opened this issue Dec 23, 2021 · 1 comment
Closed

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

Quppa opened this issue Dec 23, 2021 · 1 comment

Comments

@Quppa
Copy link
Contributor
Quppa commented Dec 23, 2021

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

@cmb69
Copy link
Member
cmb69 commented Dec 23, 2021

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 cmb69 closed this as completed in f82593d Dec 27, 2021
cmb69 added a commit that referenced this issue Dec 27, 2021
* PHP-8.1:
  Fix GH-7815: php_uname doesn't recognise latest Windows versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@Quppa @cmb69 and others