Browse Source

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

PHAR_1_2
Antony Dovgal 19 years ago
parent
commit
df6a0ca38d
  1. 8
      ext/gmp/tests/011.phpt

8
ext/gmp/tests/011.phpt

@ -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

Loading…
Cancel
Save