Skip to content

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

Closed
@Quppa

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

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