summaryrefslogtreecommitdiff
path: root/ext/bcmath/tests/bug75178-win32.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bcmath/tests/bug75178-win32.phpt')
-rw-r--r--ext/bcmath/tests/bug75178-win32.phpt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/bcmath/tests/bug75178-win32.phpt b/ext/bcmath/tests/bug75178-win32.phpt
index bae590fb5b..bddb8e236f 100644
--- a/ext/bcmath/tests/bug75178-win32.phpt
+++ b/ext/bcmath/tests/bug75178-win32.phpt
@@ -6,6 +6,11 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension is not available');
if (substr(PHP_OS, 0, 3) != 'WIN') {
die('skip valid only for windows');
}
+$cur = PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD;
+$req = "10.0.17134";
+if (version_compare($cur, $req) >= 0) {
+ echo "skip Only for Windows systems < $req";
+}
?>
--FILE--
<?php