diff options
Diffstat (limited to 'ext/bcmath/tests/bug72093-win32.phpt')
-rw-r--r-- | ext/bcmath/tests/bug72093-win32.phpt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/bcmath/tests/bug72093-win32.phpt b/ext/bcmath/tests/bug72093-win32.phpt index a9b2077823..7b1d3b9d9f 100644 --- a/ext/bcmath/tests/bug72093-win32.phpt +++ b/ext/bcmath/tests/bug72093-win32.phpt @@ -6,6 +6,13 @@ if(!extension_loaded("bcmath")) print "skip"; 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 |