We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37995c0 + f086eaa commit 90b66edCopy full SHA for 90b66ed
ext/standard/info.c
@@ -271,7 +271,9 @@ static char* php_get_windows_name()
271
major = "Windows 10";
272
}
273
} else {
274
- if (osvi.dwBuildNumber >= 20348) {
+ if (osvi.dwBuildNumber >= 26100) {
275
+ major = "Windows Server 2025";
276
+ } else if (osvi.dwBuildNumber >= 20348) {
277
major = "Windows Server 2022";
278
} else if (osvi.dwBuildNumber >= 19042) {
279
major = "Windows Server, version 20H2";
0 commit comments