nlopess Thu Dec 27 16:05:01 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/gmp/tests 011.phpt 026.phpt
Log:
fix tests
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/011.phpt?r1=1.1.2.5.2.1&r2=1.1.2.5.2.2&diff_format=u
Index: php-src/ext/gmp/tests/011.phpt
diff -u php-src/ext/gmp/tests/011.phpt:1.1.2.5.2.1
php-src/ext/gmp/tests/011.phpt:1.1.2.5.2.2
--- php-src/ext/gmp/tests/011.phpt:1.1.2.5.2.1 Thu Nov 1 00:46:12 2007
+++ php-src/ext/gmp/tests/011.phpt Thu Dec 27 16:05:00 2007
@@ -39,7 +39,7 @@
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
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/026.phpt?r1=1.1.2.3.2.2&r2=1.1.2.3.2.3&diff_format=u
Index: php-src/ext/gmp/tests/026.phpt
diff -u php-src/ext/gmp/tests/026.phpt:1.1.2.3.2.2
php-src/ext/gmp/tests/026.phpt:1.1.2.3.2.3
--- php-src/ext/gmp/tests/026.phpt:1.1.2.3.2.2 Thu Nov 1 09:25:11 2007
+++ php-src/ext/gmp/tests/026.phpt Thu Dec 27 16:05:00 2007
@@ -13,7 +13,7 @@
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(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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php