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