From: Nuno Lopes Date: Thu, 27 Dec 2007 16:05:00 +0000 (+0000) Subject: fix tests X-Git-Tag: RELEASE_1_3_1~462 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2e6a56e5c372af916e7541487782c5e6da0028a;p=php fix tests --- 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