Skip to content

Commit

Permalink
Merge branch 'PHP-8.4'
Browse files Browse the repository at this point in the history
* PHP-8.4:
  Add Windows Server 2025 build number
  • Loading branch information
cmb69 committed Nov 26, 2024
2 parents 37995c0 + f086eaa commit 90b66ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ext/standard/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@ static char* php_get_windows_name()
major = "Windows 10";
}
} else {
if (osvi.dwBuildNumber >= 20348) {
if (osvi.dwBuildNumber >= 26100) {
major = "Windows Server 2025";
} else if (osvi.dwBuildNumber >= 20348) {
major = "Windows Server 2022";
} else if (osvi.dwBuildNumber >= 19042) {
major = "Windows Server, version 20H2";
Expand Down

0 comments on commit 90b66ed

Please sign in to comment.