diff options
Diffstat (limited to 'ext/bcmath/tests/bug72093.phpt')
| -rw-r--r-- | ext/bcmath/tests/bug72093.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/bcmath/tests/bug72093.phpt b/ext/bcmath/tests/bug72093.phpt index 911af5698f..a8b6471098 100644 --- a/ext/bcmath/tests/bug72093.phpt +++ b/ext/bcmath/tests/bug72093.phpt @@ -4,7 +4,11 @@ Bug 72093: bcpowmod accepts negative scale and corrupts _one_ definition <?php if(!extension_loaded("bcmath")) print "skip"; if (substr(PHP_OS, 0, 3) == 'WIN') { - die('skip Not valid 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 Compatible on Windows systems >= $req"; + } } ?> --FILE-- |
