Skip to content

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

Closed

Description

@Quppa

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

Activity

  1. cmb69 commented on Dec 23, 2021

    @cmb69
    Member

    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.

  2. added a commit that references this issue on Dec 27, 2021
    f82593d
  3. added a commit that references this issue on Dec 27, 2021
    383bdbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions