blob: ea7c11f07170e5e316cbb7f715bb3fff66ce705b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
Check that windows version constants are initialized
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) != 'WIN') {
die('skip.. Windows only');
}
?>
--FILE--
<?php
var_dump(PHP_WINDOWS_VERSION_MAJOR > 0, PHP_WINDOWS_VERSION_MAJOR, PHP_WINDOWS_VERSION_MINOR);
?>
--EXPECTF--
bool(true)
int(%d)
int(%d)
|