This commit is contained in:
Anatol Belski 2015-05-29 11:45:20 +02:00
parent e76cf8432d
commit 6f46fa376b

View File

@ -0,0 +1,18 @@
--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);
?>
==DONE==
--EXPECTF--
bool(true)
int(%d)
int(%d)
==DONE==