diff options
author | Nuno Lopes <nlopess@php.net> | 2007-12-27 16:05:00 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2007-12-27 16:05:00 +0000 |
commit | b2e6a56e5c372af916e7541487782c5e6da0028a (patch) | |
tree | f09f44b6b88c2a29a81d42c314c329c74a0c3fc9 /ext/gmp | |
parent | ba8dcae76da8f5536c03f82e056cdd6cb803d059 (diff) | |
download | php-git-b2e6a56e5c372af916e7541487782c5e6da0028a.tar.gz |
fix tests
Diffstat (limited to 'ext/gmp')
-rw-r--r-- | ext/gmp/tests/011.phpt | 2 | ||||
-rw-r--r-- | ext/gmp/tests/026.phpt | 4 |
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 |