summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gmp/tests/011.phpt2
-rw-r--r--ext/gmp/tests/026.phpt4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/gmp/tests/011.phpt b/ext/gmp/tests/011.phpt
index b413aa9624..a42c1b6b4e 100644
--- a/ext/gmp/tests/011.phpt
+++ b/ext/gmp/tests/011.phpt
@@ -39,7 +39,7 @@ var_dump(gmp_strval($r));
echo "Done\n";
?>
--EXPECTF--
-Warning: gmp_divexact() expects exactly 2 parameters, 0 given in %s on line %d
+Warning: gmp_divexact() expects exactly 2 parameters, 3 given in %s on line %d
NULL
Warning: gmp_divexact() expects exactly 2 parameters, 0 given in %s on line %d
diff --git a/ext/gmp/tests/026.phpt b/ext/gmp/tests/026.phpt
index e09766c8e0..83e7910d1e 100644
--- a/ext/gmp/tests/026.phpt
+++ b/ext/gmp/tests/026.phpt
@@ -13,7 +13,7 @@ var_dump(gmp_cmp(1231222,0));
var_dump(gmp_cmp(0,345355));
$n = gmp_init("827278512385463739");
-var_dump(gmp_cmp(0,$n));
+var_dump(gmp_cmp(0,$n) < 0);
$n1 = gmp_init("827278512385463739");
var_dump(gmp_cmp($n1,$n));
@@ -31,7 +31,7 @@ int(-1)
int(0)
int(1)
int(-1)
-int(-1)
+bool(true)
int(0)
Warning: gmp_cmp() expects exactly 2 parameters, 3 given in %s on line %d