PHP_WINDOWS_VERSION_MAJOR |
The major version of Windows, this can be either 4 (NT4/Me/98/95),
5 (XP/2003 R2/2003/2000) or 6 (Vista/2008).
|
PHP_WINDOWS_VERSION_MINOR |
The minor version of Windows, this can be either 0 (Vista/2008/2000/NT4/95),
1 (XP), 2 (2003 R2/2003/XP x64), 10 (98)
or 90 (ME). |
PHP_WINDOWS_VERSION_BUILD |
The Windows build number (for example, Windows Vista with SP1 applied is build 6001) |
PHP_WINDOWS_VERSION_PLATFORM |
The platform that PHP currently is running on, this value is 2 on Windows
Vista/XP/2000/NT4, Server 2008/2003 and on Windows ME/98/95 this value is 1.
|
PHP_WINDOWS_VERSION_SP_MAJOR |
The major version of the service pack installed, this value is 0
if no service pack is installed. For example, Windows XP with service pack 3 installed
will make this value 3.
|
PHP_WINDOWS_VERSION_SP_MINOR |
The minor version of the service pack installed, this value is 0
if no service pack is installed.
|
PHP_WINDOWS_VERSION_SUITEMASK |
The suitemask is a bitmask that can tell if various features of Windows is installed,
see the table below for possible bitfield values.
|
PHP_WINDOWS_VERSION_PRODUCTTYPE |
This contains the value used to determine the PHP_WINDOWS_NT_*
constants. This value may be one of the PHP_WINDOWS_NT_* constants
indicating the platform type.
|
PHP_WINDOWS_NT_DOMAIN_CONTROLLER |
This is a domain controller |
PHP_WINDOWS_NT_SERVER |
This is a server system (eg. Server 2008/2003/2000), note that if this is a
domain controller its reported as PHP_WINDOWS_NT_DOMAIN_CONTROLLER.
|
PHP_WINDOWS_NT_WORKSTATION |
This is a workstation system (eg. Vista/XP/2000/NT4) |