check GMP version and skip the test if it's <= 4.2.1

This commit is contained in:
Antony Dovgal 2007-05-04 22:32:30 +00:00
parent c40640626b
commit df6a0ca38d

View file

@ -1,5 +1,11 @@
--TEST--
gmp_divexact() tests (OK to fail with GMP =< 4.2.1)
gmp_divexact() tests
--SKIPIF--
<?php
if (!defined('GMP_VERSION') || version_compare("4.2.1", GMP_VERSION, ">=")) {
die("skip your GMP is too old and will crash");
}
?>
--FILE--
<?php