tony2001                Tue Nov  6 14:31:08 2007 UTC

  Modified files:              
    /php-src/ext/gmp/tests      004.phpt 005.phpt 006.phpt 007.phpt 008.phpt 
                                009.phpt 010.phpt 011.phpt 012.phpt 013.phpt 
                                014.phpt 015.phpt 016.phpt 017.phpt 018.phpt 
                                019.phpt 020.phpt 021.phpt 022.phpt 023.phpt 
                                024.phpt 025.phpt 026.phpt 027.phpt 028.phpt 
                                029.phpt 030.phpt 031.phpt 032.phpt 033.phpt 
                                034.phpt 035.phpt 036.phpt 037.phpt 038.phpt 
                                040.phpt 
  Log:
  fix tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/004.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/gmp/tests/004.phpt
diff -u php-src/ext/gmp/tests/004.phpt:1.1 php-src/ext/gmp/tests/004.phpt:1.2
--- php-src/ext/gmp/tests/004.phpt:1.1  Sun Sep 10 22:11:10 2006
+++ php-src/ext/gmp/tests/004.phpt      Tue Nov  6 14:31:07 2007
@@ -25,7 +25,7 @@
 echo "Done\n";
 ?>
 --EXPECTF--    
-Warning: Wrong parameter count for gmp_intval() in %s on line %d
+Warning: gmp_intval() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 int(0)
 int(1)
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/005.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/005.phpt
diff -u php-src/ext/gmp/tests/005.phpt:1.2 php-src/ext/gmp/tests/005.phpt:1.3
--- php-src/ext/gmp/tests/005.phpt:1.2  Wed Apr 18 21:04:05 2007
+++ php-src/ext/gmp/tests/005.phpt      Tue Nov  6 14:31:07 2007
@@ -32,15 +32,19 @@
 echo "Done\n";
 ?>
 --EXPECTF--    
-Warning: Wrong parameter count for gmp_strval() in %s on line %d
+Warning: gmp_strval() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 bool(false)
-bool(false)
-bool(false)
 
-Warning: gmp_strval(): Bad base for conversion: 0 in %s on line %d
+Warning: gmp_strval() expects parameter 2 to be long, string given in %s on 
line %d
+NULL
+
+Warning: gmp_strval(): Bad base for conversion: -1 in %s on line %d
 bool(false)
 
+Warning: gmp_strval() expects parameter 2 to be long, string given in %s on 
line %d
+NULL
+
 Warning: gmp_strval(): supplied resource is not a valid GMP integer resource 
in %s on line %d
 bool(false)
 string(7) "9765456"
@@ -60,22 +64,26 @@
 bool(false)
 string(8) "-3373333"
 
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
-bool(false)
+Warning: gmp_strval() expects parameter 2 to be long, array given in %s on 
line %d
+NULL
 
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
-bool(false)
+Warning: gmp_strval() expects parameter 2 to be long, object given in %s on 
line %d
+NULL
 Done
 --UEXPECTF--
-Warning: Wrong parameter count for gmp_strval() in %s on line %d
+Warning: gmp_strval() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 bool(false)
-bool(false)
-bool(false)
 
-Warning: gmp_strval(): Bad base for conversion: 0 in %s on line %d
+Warning: gmp_strval() expects parameter 2 to be long, Unicode string given in 
%s on line %d
+NULL
+
+Warning: gmp_strval(): Bad base for conversion: -1 in %s on line %d
 bool(false)
 
+Warning: gmp_strval() expects parameter 2 to be long, Unicode string given in 
%s on line %d
+NULL
+
 Warning: gmp_strval(): supplied resource is not a valid GMP integer resource 
in %s on line %d
 bool(false)
 unicode(7) "9765456"
@@ -95,9 +103,9 @@
 bool(false)
 unicode(8) "-3373333"
 
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
-bool(false)
+Warning: gmp_strval() expects parameter 2 to be long, array given in %s on 
line %d
+NULL
 
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
-bool(false)
+Warning: gmp_strval() expects parameter 2 to be long, object given in %s on 
line %d
+NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/006.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/006.phpt
diff -u php-src/ext/gmp/tests/006.phpt:1.2 php-src/ext/gmp/tests/006.phpt:1.3
--- php-src/ext/gmp/tests/006.phpt:1.2  Mon Oct  9 20:42:35 2006
+++ php-src/ext/gmp/tests/006.phpt      Tue Nov  6 14:31:07 2007
@@ -23,28 +23,54 @@
 echo "Done\n";
 ?>
 --EXPECTF--    
-Warning: Wrong parameter count for gmp_sub() in %s on line %d
+Warning: gmp_sub() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_sub() in %s on line %d
+Warning: gmp_sub() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 bool(false)
 
-Warning: Wrong parameter count for gmp_sub() in %s on line %d
+Warning: gmp_sub() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
 Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 resource(%d) of type (GMP integer)
-%s(2) "-1"
+string(2) "-1"
 resource(%d) of type (GMP integer)
-%s(5) "10001"
+string(5) "10001"
 
 Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
-%s(1) "0"
+string(1) "0"
 
 Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
-%s(1) "0"
+string(1) "0"
+Done
+--UEXPECTF--
+Warning: gmp_sub() expects exactly 2 parameters, 0 given in %s on line %d
+NULL
+
+Warning: gmp_sub() expects exactly 2 parameters, 1 given in %s on line %d
+NULL
+bool(false)
+
+Warning: gmp_sub() expects exactly 2 parameters, 3 given in %s on line %d
+NULL
+
+Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+resource(%d) of type (GMP integer)
+unicode(2) "-1"
+resource(%d) of type (GMP integer)
+unicode(5) "10001"
+
+Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+unicode(1) "0"
+
+Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+unicode(1) "0"
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/007.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/007.phpt
diff -u php-src/ext/gmp/tests/007.phpt:1.2 php-src/ext/gmp/tests/007.phpt:1.3
--- php-src/ext/gmp/tests/007.phpt:1.2  Mon Oct  9 20:42:35 2006
+++ php-src/ext/gmp/tests/007.phpt      Tue Nov  6 14:31:07 2007
@@ -45,10 +45,10 @@
 echo "Done\n";
 ?>
 --EXPECTF--    
-Warning: Wrong parameter count for gmp_div_qr() in %s on line %d
+Warning: gmp_div_qr() expects at least 2 parameters, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_div_qr() in %s on line %d
+Warning: gmp_div_qr() expects at least 2 parameters, 1 given in %s on line %d
 NULL
 array(2) {
   [0]=>
@@ -56,8 +56,8 @@
   [1]=>
   resource(%d) of type (GMP integer)
 }
-%s(1) "0"
-%s(1) "0"
+string(1) "0"
+string(1) "0"
 
 Warning: gmp_div_qr(): Zero operand not allowed in %s on line %d
 bool(false)
@@ -67,8 +67,8 @@
   [1]=>
   resource(%d) of type (GMP integer)
 }
-%s(1) "0"
-%s(5) "12653"
+string(1) "0"
+string(5) "12653"
 NULL
 
 Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
@@ -82,48 +82,135 @@
   [1]=>
   resource(%d) of type (GMP integer)
 }
-%s(4) "9131"
-%s(2) "10"
+string(4) "9131"
+string(2) "10"
 array(2) {
   [0]=>
   resource(%d) of type (GMP integer)
   [1]=>
   resource(%d) of type (GMP integer)
 }
-%s(4) "9132"
-%s(4) "-113"
+string(4) "9132"
+string(4) "-113"
 array(2) {
   [0]=>
   resource(%d) of type (GMP integer)
   [1]=>
   resource(%d) of type (GMP integer)
 }
-%s(4) "9131"
-%s(2) "10"
+string(4) "9131"
+string(2) "10"
 array(2) {
   [0]=>
   resource(%d) of type (GMP integer)
   [1]=>
   resource(%d) of type (GMP integer)
 }
-%s(4) "9131"
-%s(2) "10"
+string(4) "9131"
+string(2) "10"
 array(2) {
   [0]=>
   resource(%d) of type (GMP integer)
   [1]=>
   resource(%d) of type (GMP integer)
 }
-%s(4) "9132"
-%s(4) "-113"
+string(4) "9132"
+string(4) "-113"
 array(2) {
   [0]=>
   resource(%d) of type (GMP integer)
   [1]=>
   resource(%d) of type (GMP integer)
 }
-%s(4) "9131"
-%s(2) "10"
+string(4) "9131"
+string(2) "10"
+
+Warning: gmp_div_qr(): supplied resource is not a valid GMP integer resource 
in %s on line %d
+bool(false)
+
+Warning: gmp_div_qr(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+Done
+--UEXPECTF--
+Warning: gmp_div_qr() expects at least 2 parameters, 0 given in %s on line %d
+NULL
+
+Warning: gmp_div_qr() expects at least 2 parameters, 1 given in %s on line %d
+NULL
+array(2) {
+  [0]=>
+  resource(%d) of type (GMP integer)
+  [1]=>
+  resource(%d) of type (GMP integer)
+}
+unicode(1) "0"
+unicode(1) "0"
+
+Warning: gmp_div_qr(): Zero operand not allowed in %s on line %d
+bool(false)
+array(2) {
+  [0]=>
+  resource(%d) of type (GMP integer)
+  [1]=>
+  resource(%d) of type (GMP integer)
+}
+unicode(1) "0"
+unicode(5) "12653"
+NULL
+
+Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+
+Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+array(2) {
+  [0]=>
+  resource(%d) of type (GMP integer)
+  [1]=>
+  resource(%d) of type (GMP integer)
+}
+unicode(4) "9131"
+unicode(2) "10"
+array(2) {
+  [0]=>
+  resource(%d) of type (GMP integer)
+  [1]=>
+  resource(%d) of type (GMP integer)
+}
+unicode(4) "9132"
+unicode(4) "-113"
+array(2) {
+  [0]=>
+  resource(%d) of type (GMP integer)
+  [1]=>
+  resource(%d) of type (GMP integer)
+}
+unicode(4) "9131"
+unicode(2) "10"
+array(2) {
+  [0]=>
+  resource(%d) of type (GMP integer)
+  [1]=>
+  resource(%d) of type (GMP integer)
+}
+unicode(4) "9131"
+unicode(2) "10"
+array(2) {
+  [0]=>
+  resource(%d) of type (GMP integer)
+  [1]=>
+  resource(%d) of type (GMP integer)
+}
+unicode(4) "9132"
+unicode(4) "-113"
+array(2) {
+  [0]=>
+  resource(%d) of type (GMP integer)
+  [1]=>
+  resource(%d) of type (GMP integer)
+}
+unicode(4) "9131"
+unicode(2) "10"
 
 Warning: gmp_div_qr(): supplied resource is not a valid GMP integer resource 
in %s on line %d
 bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/008.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/008.phpt
diff -u php-src/ext/gmp/tests/008.phpt:1.2 php-src/ext/gmp/tests/008.phpt:1.3
--- php-src/ext/gmp/tests/008.phpt:1.2  Mon Oct  9 20:42:35 2006
+++ php-src/ext/gmp/tests/008.phpt      Tue Nov  6 14:31:07 2007
@@ -36,34 +36,70 @@
 echo "Done\n";
 ?>
 --EXPECTF--    
-Warning: Wrong parameter count for gmp_div_r() in %s on line %d
+Warning: gmp_div_r() expects at least 2 parameters, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_div_r() in %s on line %d
+Warning: gmp_div_r() expects at least 2 parameters, 1 given in %s on line %d
 NULL
 int(0)
-%s(1) "0"
+string(1) "0"
 
 Warning: gmp_div_r(): Zero operand not allowed in %s on line %d
 bool(false)
 int(12653)
-%s(5) "12653"
+string(5) "12653"
 NULL
 
 Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 int(10)
-%s(2) "10"
+string(2) "10"
 int(113)
-%s(3) "113"
+string(3) "113"
 int(10)
-%s(2) "10"
+string(2) "10"
 int(10)
-%s(2) "10"
+string(2) "10"
 int(113)
-%s(3) "113"
+string(3) "113"
 int(10)
-%s(2) "10"
+string(2) "10"
+
+Warning: gmp_div_r(): supplied resource is not a valid GMP integer resource in 
%s on line %d
+bool(false)
+
+Warning: gmp_div_r(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+Done
+--UEXPECTF--
+Warning: gmp_div_r() expects at least 2 parameters, 0 given in %s on line %d
+NULL
+
+Warning: gmp_div_r() expects at least 2 parameters, 1 given in %s on line %d
+NULL
+int(0)
+unicode(1) "0"
+
+Warning: gmp_div_r(): Zero operand not allowed in %s on line %d
+bool(false)
+int(12653)
+unicode(5) "12653"
+NULL
+
+Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+int(10)
+unicode(2) "10"
+int(113)
+unicode(3) "113"
+int(10)
+unicode(2) "10"
+int(10)
+unicode(2) "10"
+int(113)
+unicode(3) "113"
+int(10)
+unicode(2) "10"
 
 Warning: gmp_div_r(): supplied resource is not a valid GMP integer resource in 
%s on line %d
 bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/009.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/009.phpt
diff -u php-src/ext/gmp/tests/009.phpt:1.2 php-src/ext/gmp/tests/009.phpt:1.3
--- php-src/ext/gmp/tests/009.phpt:1.2  Mon Oct  9 20:42:35 2006
+++ php-src/ext/gmp/tests/009.phpt      Tue Nov  6 14:31:07 2007
@@ -36,34 +36,70 @@
 echo "Done\n";
 ?>
 --EXPECTF--    
-Warning: Wrong parameter count for gmp_div_q() in %s on line %d
+Warning: gmp_div_q() expects at least 2 parameters, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_div_q() in %s on line %d
+Warning: gmp_div_q() expects at least 2 parameters, 1 given in %s on line %d
 NULL
 resource(%d) of type (GMP integer)
-%s(1) "0"
+string(1) "0"
 
 Warning: gmp_div_q(): Zero operand not allowed in %s on line %d
 bool(false)
 resource(%d) of type (GMP integer)
-%s(1) "0"
+string(1) "0"
 NULL
 
 Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 resource(%d) of type (GMP integer)
-%s(4) "9131"
+string(4) "9131"
 resource(%d) of type (GMP integer)
-%s(4) "9132"
+string(4) "9132"
 resource(%d) of type (GMP integer)
-%s(4) "9131"
+string(4) "9131"
 resource(%d) of type (GMP integer)
-%s(4) "9131"
+string(4) "9131"
 resource(%d) of type (GMP integer)
-%s(4) "9132"
+string(4) "9132"
 resource(%d) of type (GMP integer)
-%s(4) "9131"
+string(4) "9131"
+
+Warning: gmp_div_q(): supplied resource is not a valid GMP integer resource in 
%s on line %d
+bool(false)
+
+Warning: gmp_div_q(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+Done
+--UEXPECTF--
+Warning: gmp_div_q() expects at least 2 parameters, 0 given in %s on line %d
+NULL
+
+Warning: gmp_div_q() expects at least 2 parameters, 1 given in %s on line %d
+NULL
+resource(%d) of type (GMP integer)
+unicode(1) "0"
+
+Warning: gmp_div_q(): Zero operand not allowed in %s on line %d
+bool(false)
+resource(%d) of type (GMP integer)
+unicode(1) "0"
+NULL
+
+Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+resource(%d) of type (GMP integer)
+unicode(4) "9131"
+resource(%d) of type (GMP integer)
+unicode(4) "9132"
+resource(%d) of type (GMP integer)
+unicode(4) "9131"
+resource(%d) of type (GMP integer)
+unicode(4) "9131"
+resource(%d) of type (GMP integer)
+unicode(4) "9132"
+resource(%d) of type (GMP integer)
+unicode(4) "9131"
 
 Warning: gmp_div_q(): supplied resource is not a valid GMP integer resource in 
%s on line %d
 bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/010.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/gmp/tests/010.phpt
diff -u php-src/ext/gmp/tests/010.phpt:1.1 php-src/ext/gmp/tests/010.phpt:1.2
--- php-src/ext/gmp/tests/010.phpt:1.1  Sun Sep 10 22:11:10 2006
+++ php-src/ext/gmp/tests/010.phpt      Tue Nov  6 14:31:07 2007
@@ -22,10 +22,10 @@
 echo "Done\n";
 ?>
 --EXPECTF--    
-Warning: Wrong parameter count for gmp_mod() in %s on line %d
+Warning: gmp_mod() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_mod() in %s on line %d
+Warning: gmp_mod() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 bool(false)
 int(0)
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/011.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/gmp/tests/011.phpt
diff -u php-src/ext/gmp/tests/011.phpt:1.4 php-src/ext/gmp/tests/011.phpt:1.5
--- php-src/ext/gmp/tests/011.phpt:1.4  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/011.phpt      Tue Nov  6 14:31:07 2007
@@ -39,10 +39,10 @@
 echo "Done\n";
 ?>
 --EXPECTF--    
-Warning: Wrong parameter count for gmp_divexact() in %s on line %d
+Warning: gmp_divexact() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_divexact() in %s on line %d
+Warning: gmp_divexact() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 string(1) "0"
 
@@ -55,10 +55,10 @@
 string(9) "-10000000"
 Done
 --UEXPECTF--
-Warning: Wrong parameter count for gmp_divexact() in %s on line %d
+Warning: gmp_divexact() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_divexact() in %s on line %d
+Warning: gmp_divexact() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 unicode(1) "0"
 
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/012.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/012.phpt
diff -u php-src/ext/gmp/tests/012.phpt:1.2 php-src/ext/gmp/tests/012.phpt:1.3
--- php-src/ext/gmp/tests/012.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/012.phpt      Tue Nov  6 14:31:07 2007
@@ -33,10 +33,10 @@
 int(0)
 string(21) "-12345678901234567890"
 
-Warning: Wrong parameter count for gmp_neg() in %s on line %d
+Warning: gmp_neg() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_neg() in %s on line %d
+Warning: gmp_neg() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 
 Warning: gmp_neg(): Unable to convert variable to GMP - wrong type in %s on 
line %d
@@ -52,10 +52,29 @@
 int(0)
 unicode(21) "-12345678901234567890"
 
-Warning: Wrong parameter count for gmp_neg() in %s on line %d
+Warning: gmp_neg() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_neg() in %s on line %d
+Warning: gmp_neg() expects exactly 1 parameter, 0 given in %s on line %d
+NULL
+
+Warning: gmp_neg(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+Done
+--UEXPECTF--
+int(0)
+int(-1)
+int(1)
+int(1)
+int(0)
+int(0)
+int(0)
+unicode(21) "-12345678901234567890"
+
+Warning: gmp_neg() expects exactly 1 parameter, 2 given in %s on line %d
+NULL
+
+Warning: gmp_neg() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 
 Warning: gmp_neg(): Unable to convert variable to GMP - wrong type in %s on 
line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/013.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/013.phpt
diff -u php-src/ext/gmp/tests/013.phpt:1.2 php-src/ext/gmp/tests/013.phpt:1.3
--- php-src/ext/gmp/tests/013.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/013.phpt      Tue Nov  6 14:31:07 2007
@@ -34,10 +34,10 @@
 string(1) "0"
 string(1) "0"
 
-Warning: Wrong parameter count for gmp_abs() in %s on line %d
+Warning: gmp_abs() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_abs() in %s on line %d
+Warning: gmp_abs() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 
 Warning: gmp_abs(): Unable to convert variable to GMP - wrong type in %s on 
line %d
@@ -56,10 +56,10 @@
 unicode(1) "0"
 unicode(1) "0"
 
-Warning: Wrong parameter count for gmp_abs() in %s on line %d
+Warning: gmp_abs() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_abs() in %s on line %d
+Warning: gmp_abs() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 
 Warning: gmp_abs(): Unable to convert variable to GMP - wrong type in %s on 
line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/014.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/014.phpt
diff -u php-src/ext/gmp/tests/014.phpt:1.2 php-src/ext/gmp/tests/014.phpt:1.3
--- php-src/ext/gmp/tests/014.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/014.phpt      Tue Nov  6 14:31:07 2007
@@ -48,10 +48,10 @@
 Warning: gmp_fact(): Number has to be greater than or equal to 0 in %s on line 
%d
 string(1) "0"
 
-Warning: Wrong parameter count for gmp_fact() in %s on line %d
+Warning: gmp_fact() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_fact() in %s on line %d
+Warning: gmp_fact() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 resource(%d) of type (GMP integer)
 string(1) "1"
@@ -76,10 +76,10 @@
 Warning: gmp_fact(): Number has to be greater than or equal to 0 in %s on line 
%d
 unicode(1) "0"
 
-Warning: Wrong parameter count for gmp_fact() in %s on line %d
+Warning: gmp_fact() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_fact() in %s on line %d
+Warning: gmp_fact() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 resource(%d) of type (GMP integer)
 unicode(1) "1"
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/015.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/015.phpt
diff -u php-src/ext/gmp/tests/015.phpt:1.2 php-src/ext/gmp/tests/015.phpt:1.3
--- php-src/ext/gmp/tests/015.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/015.phpt      Tue Nov  6 14:31:07 2007
@@ -48,18 +48,20 @@
 string(14) "10240000000000"
 string(14) "10240000000000"
 
-Warning: Wrong parameter count for gmp_pow() in %s on line %d
+Warning: gmp_pow() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_pow() in %s on line %d
+Warning: gmp_pow() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_pow() in %s on line %d
+Warning: gmp_pow() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 
-Warning: gmp_pow(): Unable to convert variable to GMP - wrong type in %s on 
line %d
-bool(false)
-resource(%d) of type (GMP integer)
+Warning: gmp_pow() expects parameter 2 to be long, array given in %s on line %d
+NULL
+
+Warning: gmp_pow() expects parameter 2 to be long, array given in %s on line %d
+NULL
 
 Warning: gmp_pow(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
@@ -82,18 +84,20 @@
 unicode(14) "10240000000000"
 unicode(14) "10240000000000"
 
-Warning: Wrong parameter count for gmp_pow() in %s on line %d
+Warning: gmp_pow() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_pow() in %s on line %d
+Warning: gmp_pow() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_pow() in %s on line %d
+Warning: gmp_pow() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 
-Warning: gmp_pow(): Unable to convert variable to GMP - wrong type in %s on 
line %d
-bool(false)
-resource(%d) of type (GMP integer)
+Warning: gmp_pow() expects parameter 2 to be long, array given in %s on line %d
+NULL
+
+Warning: gmp_pow() expects parameter 2 to be long, array given in %s on line %d
+NULL
 
 Warning: gmp_pow(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/016.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/gmp/tests/016.phpt
diff -u php-src/ext/gmp/tests/016.phpt:1.3 php-src/ext/gmp/tests/016.phpt:1.4
--- php-src/ext/gmp/tests/016.phpt:1.3  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/016.phpt      Tue Nov  6 14:31:07 2007
@@ -58,13 +58,13 @@
 Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_powm() in %s on line %d
+Warning: gmp_powm() expects exactly 3 parameters, 2 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_powm() in %s on line %d
+Warning: gmp_powm() expects exactly 3 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_powm() in %s on line %d
+Warning: gmp_powm() expects exactly 3 parameters, 0 given in %s on line %d
 NULL
 
 Warning: gmp_powm(): Second parameter cannot be less than 0 in %s on line %d
@@ -94,16 +94,16 @@
 Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_powm() in %s on line %d
+Warning: gmp_powm() expects exactly 3 parameters, 2 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_powm() in %s on line %d
+Warning: gmp_powm() expects exactly 3 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_powm() in %s on line %d
+Warning: gmp_powm() expects exactly 3 parameters, 0 given in %s on line %d
 NULL
 
 Warning: gmp_powm(): Second parameter cannot be less than 0 in %s on line %d
 bool(false)
-resource(%d) of type (GMP integer)
+resource(35) of type (GMP integer)
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/017.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/017.phpt
diff -u php-src/ext/gmp/tests/017.phpt:1.2 php-src/ext/gmp/tests/017.phpt:1.3
--- php-src/ext/gmp/tests/017.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/017.phpt      Tue Nov  6 14:31:07 2007
@@ -39,10 +39,10 @@
 string(1) "0"
 string(2) "27"
 
-Warning: Wrong parameter count for gmp_sqrt() in %s on line %d
+Warning: gmp_sqrt() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_sqrt() in %s on line %d
+Warning: gmp_sqrt() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 
 Warning: gmp_sqrt(): Unable to convert variable to GMP - wrong type in %s on 
line %d
@@ -63,10 +63,10 @@
 unicode(1) "0"
 unicode(2) "27"
 
-Warning: Wrong parameter count for gmp_sqrt() in %s on line %d
+Warning: gmp_sqrt() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_sqrt() in %s on line %d
+Warning: gmp_sqrt() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 
 Warning: gmp_sqrt(): Unable to convert variable to GMP - wrong type in %s on 
line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/018.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/018.phpt
diff -u php-src/ext/gmp/tests/018.phpt:1.2 php-src/ext/gmp/tests/018.phpt:1.3
--- php-src/ext/gmp/tests/018.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/018.phpt      Tue Nov  6 14:31:07 2007
@@ -95,7 +95,7 @@
 Warning: gmp_sqrtrem(): Unable to convert variable to GMP - wrong type in %s 
on line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_sqrtrem() in %s on line %d
+Warning: gmp_sqrtrem() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 Done
 --UEXPECTF--
@@ -136,6 +136,6 @@
 Warning: gmp_sqrtrem(): Unable to convert variable to GMP - wrong type in %s 
on line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_sqrtrem() in %s on line %d
+Warning: gmp_sqrtrem() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/019.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/019.phpt
diff -u php-src/ext/gmp/tests/019.phpt:1.2 php-src/ext/gmp/tests/019.phpt:1.3
--- php-src/ext/gmp/tests/019.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/019.phpt      Tue Nov  6 14:31:07 2007
@@ -39,7 +39,7 @@
 bool(true)
 bool(false)
 
-Warning: Wrong parameter count for gmp_perfect_square() in %s on line %d
+Warning: gmp_perfect_square() expects exactly 1 parameter, 0 given in %s on 
line %d
 NULL
 
 Warning: gmp_perfect_square(): Unable to convert variable to GMP - wrong type 
in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/020.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/020.phpt
diff -u php-src/ext/gmp/tests/020.phpt:1.2 php-src/ext/gmp/tests/020.phpt:1.3
--- php-src/ext/gmp/tests/020.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/020.phpt      Tue Nov  6 14:31:07 2007
@@ -73,7 +73,7 @@
 int(0)
 int(0)
 
-Warning: Wrong parameter count for gmp_prob_prime() in %s on line %d
+Warning: gmp_prob_prime() expects at least 1 parameter, 0 given in %s on line 
%d
 NULL
 
 Warning: gmp_prob_prime(): Unable to convert variable to GMP - wrong type in 
%s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/021.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/021.phpt
diff -u php-src/ext/gmp/tests/021.phpt:1.2 php-src/ext/gmp/tests/021.phpt:1.3
--- php-src/ext/gmp/tests/021.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/021.phpt      Tue Nov  6 14:31:07 2007
@@ -38,15 +38,15 @@
 string(1) "2"
 string(1) "1"
 string(10) "8127346234"
-string(1) "0"
+string(10) "8127346234"
 
-Warning: Wrong parameter count for gmp_gcd() in %s on line %d
+Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_gcd() in %s on line %d
+Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_gcd() in %s on line %d
+Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 Done
 --UEXPECTF--
@@ -60,14 +60,14 @@
 unicode(1) "2"
 unicode(1) "1"
 unicode(10) "8127346234"
-unicode(1) "0"
+unicode(10) "8127346234"
 
-Warning: Wrong parameter count for gmp_gcd() in %s on line %d
+Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_gcd() in %s on line %d
+Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_gcd() in %s on line %d
+Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/022.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/gmp/tests/022.phpt
diff -u php-src/ext/gmp/tests/022.phpt:1.3 php-src/ext/gmp/tests/022.phpt:1.4
--- php-src/ext/gmp/tests/022.phpt:1.3  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/022.phpt      Tue Nov  6 14:31:07 2007
@@ -74,13 +74,13 @@
 Warning: gmp_gcdext(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_gcdext() in %s on line %d
+Warning: gmp_gcdext() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_gcdext() in %s on line %d
+Warning: gmp_gcdext() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_gcdext() in %s on line %d
+Warning: gmp_gcdext() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
 --UEXPECTF--
@@ -121,12 +121,12 @@
 Warning: gmp_gcdext(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_gcdext() in %s on line %d
+Warning: gmp_gcdext() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_gcdext() in %s on line %d
+Warning: gmp_gcdext() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_gcdext() in %s on line %d
+Warning: gmp_gcdext() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/023.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/023.phpt
diff -u php-src/ext/gmp/tests/023.phpt:1.2 php-src/ext/gmp/tests/023.phpt:1.3
--- php-src/ext/gmp/tests/023.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/023.phpt      Tue Nov  6 14:31:07 2007
@@ -38,10 +38,10 @@
 string(22) "3498273496234234523441"
 string(1) "1"
 
-Warning: Wrong parameter count for gmp_invert() in %s on line %d
+Warning: gmp_invert() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_invert() in %s on line %d
+Warning: gmp_invert() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
 Warning: gmp_invert(): Unable to convert variable to GMP - wrong type in %s on 
line %d
@@ -64,10 +64,10 @@
 unicode(22) "3498273496234234523441"
 unicode(1) "1"
 
-Warning: Wrong parameter count for gmp_invert() in %s on line %d
+Warning: gmp_invert() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_invert() in %s on line %d
+Warning: gmp_invert() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
 Warning: gmp_invert(): Unable to convert variable to GMP - wrong type in %s on 
line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/024.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/024.phpt
diff -u php-src/ext/gmp/tests/024.phpt:1.2 php-src/ext/gmp/tests/024.phpt:1.3
--- php-src/ext/gmp/tests/024.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/024.phpt      Tue Nov  6 14:31:07 2007
@@ -35,20 +35,19 @@
 string(2) "-1"
 string(1) "0"
 string(1) "0"
+string(2) "-1"
 string(1) "0"
 string(1) "0"
+string(2) "-1"
 string(1) "0"
 string(1) "0"
+string(2) "-1"
+string(2) "-1"
 string(1) "0"
 string(1) "0"
+string(2) "-1"
 string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-int(0)
+string(2) "-1"
 
 Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
@@ -56,13 +55,16 @@
 Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_jacobi() in %s on line %d
+Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
+
+Warning: gmp_jacobi() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_jacobi() in %s on line %d
+Warning: gmp_jacobi() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_jacobi() in %s on line %d
+Warning: gmp_jacobi() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
 --UEXPECTF--
@@ -70,20 +72,22 @@
 unicode(2) "-1"
 unicode(1) "0"
 unicode(1) "0"
+unicode(2) "-1"
 unicode(1) "0"
 unicode(1) "0"
+unicode(2) "-1"
 unicode(1) "0"
 unicode(1) "0"
+unicode(2) "-1"
+unicode(2) "-1"
 unicode(1) "0"
 unicode(1) "0"
+unicode(2) "-1"
 unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-int(0)
+unicode(2) "-1"
+
+Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on 
line %d
+bool(false)
 
 Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
@@ -91,12 +95,12 @@
 Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_jacobi() in %s on line %d
+Warning: gmp_jacobi() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_jacobi() in %s on line %d
+Warning: gmp_jacobi() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_jacobi() in %s on line %d
+Warning: gmp_jacobi() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/025.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/025.phpt
diff -u php-src/ext/gmp/tests/025.phpt:1.2 php-src/ext/gmp/tests/025.phpt:1.3
--- php-src/ext/gmp/tests/025.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/025.phpt      Tue Nov  6 14:31:07 2007
@@ -35,20 +35,19 @@
 string(2) "-1"
 string(1) "0"
 string(1) "0"
+string(2) "-1"
 string(1) "0"
 string(1) "0"
+string(2) "-1"
 string(1) "0"
 string(1) "0"
+string(2) "-1"
+string(2) "-1"
 string(1) "0"
 string(1) "0"
+string(2) "-1"
 string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-int(0)
+string(2) "-1"
 
 Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s 
on line %d
 bool(false)
@@ -56,13 +55,16 @@
 Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s 
on line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_legendre() in %s on line %d
+Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s 
on line %d
+bool(false)
+
+Warning: gmp_legendre() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_legendre() in %s on line %d
+Warning: gmp_legendre() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_legendre() in %s on line %d
+Warning: gmp_legendre() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
 --UEXPECTF--
@@ -70,20 +72,22 @@
 unicode(2) "-1"
 unicode(1) "0"
 unicode(1) "0"
+unicode(2) "-1"
 unicode(1) "0"
 unicode(1) "0"
+unicode(2) "-1"
 unicode(1) "0"
 unicode(1) "0"
+unicode(2) "-1"
+unicode(2) "-1"
 unicode(1) "0"
 unicode(1) "0"
+unicode(2) "-1"
 unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-unicode(1) "0"
-int(0)
+unicode(2) "-1"
+
+Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s 
on line %d
+bool(false)
 
 Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s 
on line %d
 bool(false)
@@ -91,12 +95,12 @@
 Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s 
on line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_legendre() in %s on line %d
+Warning: gmp_legendre() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_legendre() in %s on line %d
+Warning: gmp_legendre() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_legendre() in %s on line %d
+Warning: gmp_legendre() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/026.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/026.phpt
diff -u php-src/ext/gmp/tests/026.phpt:1.2 php-src/ext/gmp/tests/026.phpt:1.3
--- php-src/ext/gmp/tests/026.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/026.phpt      Tue Nov  6 14:31:07 2007
@@ -31,18 +31,18 @@
 int(0)
 int(1)
 int(-1)
-int(-2)
+int(-1)
 int(0)
 
-Warning: Wrong parameter count for gmp_cmp() in %s on line %d
+Warning: gmp_cmp() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
 Warning: gmp_cmp(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_cmp() in %s on line %d
+Warning: gmp_cmp() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_cmp() in %s on line %d
+Warning: gmp_cmp() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/027.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/027.phpt
diff -u php-src/ext/gmp/tests/027.phpt:1.2 php-src/ext/gmp/tests/027.phpt:1.3
--- php-src/ext/gmp/tests/027.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/027.phpt      Tue Nov  6 14:31:07 2007
@@ -28,12 +28,12 @@
 bool(false)
 int(0)
 
-Warning: Wrong parameter count for gmp_sign() in %s on line %d
+Warning: gmp_sign() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 
 Warning: gmp_sign(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_sign() in %s on line %d
+Warning: gmp_sign() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/028.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/028.phpt
diff -u php-src/ext/gmp/tests/028.phpt:1.2 php-src/ext/gmp/tests/028.phpt:1.3
--- php-src/ext/gmp/tests/028.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/028.phpt      Tue Nov  6 14:31:07 2007
@@ -22,16 +22,22 @@
 --EXPECTF--    
 string(%d) "%d"
 string(%d) "%d"
-string(1) "%d"
+string(1) "0"
 string(%d) "%d"
 string(%d) "%d"
 string(%d) "%d"
-resource(%d) of type (GMP integer)
 
-Warning: Wrong parameter count for gmp_random() in %s on line %d
+Warning: gmp_random() expects parameter 1 to be long, array given in %s on 
line %d
+NULL
+
+Warning: gmp_random() expects at most 1 parameter, 2 given in %s on line %d
+NULL
+
+Warning: gmp_random() expects parameter 1 to be long, string given in %s on 
line %d
+NULL
+
+Warning: gmp_random() expects parameter 1 to be long, string given in %s on 
line %d
 NULL
-resource(%d) of type (GMP integer)
-resource(%d) of type (GMP integer)
 Done
 --UEXPECTF--
 unicode(%d) "%d"
@@ -40,10 +46,16 @@
 unicode(%d) "%d"
 unicode(%d) "%d"
 unicode(%d) "%d"
-resource(%d) of type (GMP integer)
 
-Warning: Wrong parameter count for gmp_random() in %s on line %d
+Warning: gmp_random() expects parameter 1 to be long, array given in %s on 
line %d
+NULL
+
+Warning: gmp_random() expects at most 1 parameter, 2 given in %s on line %d
+NULL
+
+Warning: gmp_random() expects parameter 1 to be long, Unicode string given in 
%s on line %d
+NULL
+
+Warning: gmp_random() expects parameter 1 to be long, Unicode string given in 
%s on line %d
 NULL
-resource(%d) of type (GMP integer)
-resource(%d) of type (GMP integer)
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/029.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/029.phpt
diff -u php-src/ext/gmp/tests/029.phpt:1.2 php-src/ext/gmp/tests/029.phpt:1.3
--- php-src/ext/gmp/tests/029.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/029.phpt      Tue Nov  6 14:31:07 2007
@@ -35,10 +35,10 @@
 string(4) "1536"
 string(15) "424703623692768"
 
-Warning: Wrong parameter count for gmp_and() in %s on line %d
+Warning: gmp_and() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_and() in %s on line %d
+Warning: gmp_and() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
 Warning: gmp_and(): Unable to convert variable to GMP - wrong type in %s on 
line %d
@@ -60,10 +60,10 @@
 unicode(4) "1536"
 unicode(15) "424703623692768"
 
-Warning: Wrong parameter count for gmp_and() in %s on line %d
+Warning: gmp_and() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_and() in %s on line %d
+Warning: gmp_and() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
 Warning: gmp_and(): Unable to convert variable to GMP - wrong type in %s on 
line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/030.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/030.phpt
diff -u php-src/ext/gmp/tests/030.phpt:1.2 php-src/ext/gmp/tests/030.phpt:1.3
--- php-src/ext/gmp/tests/030.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/030.phpt      Tue Nov  6 14:31:07 2007
@@ -35,10 +35,10 @@
 string(15) "987657876576252"
 string(21) "987658441719689394144"
 
-Warning: Wrong parameter count for gmp_or() in %s on line %d
+Warning: gmp_or() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_or() in %s on line %d
+Warning: gmp_or() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
 Warning: gmp_or(): Unable to convert variable to GMP - wrong type in %s on 
line %d
@@ -60,10 +60,10 @@
 unicode(15) "987657876576252"
 unicode(21) "987658441719689394144"
 
-Warning: Wrong parameter count for gmp_or() in %s on line %d
+Warning: gmp_or() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_or() in %s on line %d
+Warning: gmp_or() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
 Warning: gmp_or(): Unable to convert variable to GMP - wrong type in %s on 
line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/031.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/031.phpt
diff -u php-src/ext/gmp/tests/031.phpt:1.2 php-src/ext/gmp/tests/031.phpt:1.3
--- php-src/ext/gmp/tests/031.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/031.phpt      Tue Nov  6 14:31:07 2007
@@ -37,7 +37,7 @@
 Warning: gmp_com(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 string(1) "0"
 
-Warning: Wrong parameter count for gmp_com() in %s on line %d
+Warning: gmp_com() expects exactly 1 parameter, 0 given in %s on line %d
 
 Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
@@ -56,7 +56,7 @@
 Warning: gmp_com(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 unicode(1) "0"
 
-Warning: Wrong parameter count for gmp_com() in %s on line %d
+Warning: gmp_com() expects exactly 1 parameter, 0 given in %s on line %d
 
 Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/032.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/032.phpt
diff -u php-src/ext/gmp/tests/032.phpt:1.2 php-src/ext/gmp/tests/032.phpt:1.3
--- php-src/ext/gmp/tests/032.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/032.phpt      Tue Nov  6 14:31:07 2007
@@ -35,10 +35,10 @@
 string(15) "987657876574716"
 string(21) "987658017016065701376"
 
-Warning: Wrong parameter count for gmp_xor() in %s on line %d
+Warning: gmp_xor() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_xor() in %s on line %d
+Warning: gmp_xor() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
 Warning: gmp_xor(): Unable to convert variable to GMP - wrong type in %s on 
line %d
@@ -60,10 +60,10 @@
 unicode(15) "987657876574716"
 unicode(21) "987658017016065701376"
 
-Warning: Wrong parameter count for gmp_xor() in %s on line %d
+Warning: gmp_xor() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_xor() in %s on line %d
+Warning: gmp_xor() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
 Warning: gmp_xor(): Unable to convert variable to GMP - wrong type in %s on 
line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/033.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/033.phpt
diff -u php-src/ext/gmp/tests/033.phpt:1.2 php-src/ext/gmp/tests/033.phpt:1.3
--- php-src/ext/gmp/tests/033.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/033.phpt      Tue Nov  6 14:31:08 2007
@@ -54,13 +54,13 @@
 
 Warning: gmp_setbit(): supplied argument is not a valid GMP integer resource 
in %s on line %d
 
-Warning: Wrong parameter count for gmp_setbit() in %s on line %d
+Warning: gmp_setbit() expects at least 2 parameters, 1 given in %s on line %d
 
-Warning: Wrong parameter count for gmp_setbit() in %s on line %d
+Warning: gmp_setbit() expects at most 3 parameters, 4 given in %s on line %d
 
-Warning: gmp_setbit(): supplied argument is not a valid GMP integer resource 
in %s on line %d
+Warning: gmp_setbit() expects parameter 2 to be long, array given in %s on 
line %d
 
-Warning: gmp_setbit(): supplied argument is not a valid GMP integer resource 
in %s on line %d
+Warning: gmp_setbit() expects parameter 2 to be long, array given in %s on 
line %d
 Done
 --UEXPECTF--
 unicode(2) "-1"
@@ -75,11 +75,11 @@
 
 Warning: gmp_setbit(): supplied argument is not a valid GMP integer resource 
in %s on line %d
 
-Warning: Wrong parameter count for gmp_setbit() in %s on line %d
+Warning: gmp_setbit() expects at least 2 parameters, 1 given in %s on line %d
 
-Warning: Wrong parameter count for gmp_setbit() in %s on line %d
+Warning: gmp_setbit() expects at most 3 parameters, 4 given in %s on line %d
 
-Warning: gmp_setbit(): supplied argument is not a valid GMP integer resource 
in %s on line %d
+Warning: gmp_setbit() expects parameter 2 to be long, array given in %s on 
line %d
 
-Warning: gmp_setbit(): supplied argument is not a valid GMP integer resource 
in %s on line %d
+Warning: gmp_setbit() expects parameter 2 to be long, array given in %s on 
line %d
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/034.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/034.phpt
diff -u php-src/ext/gmp/tests/034.phpt:1.2 php-src/ext/gmp/tests/034.phpt:1.3
--- php-src/ext/gmp/tests/034.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/034.phpt      Tue Nov  6 14:31:08 2007
@@ -48,11 +48,11 @@
 
 Warning: gmp_clrbit(): supplied argument is not a valid GMP integer resource 
in %s on line %d
 
-Warning: Wrong parameter count for gmp_clrbit() in %s on line %d
+Warning: gmp_clrbit() expects exactly 2 parameters, 3 given in %s on line %d
 
-Warning: Wrong parameter count for gmp_clrbit() in %s on line %d
+Warning: gmp_clrbit() expects exactly 2 parameters, 1 given in %s on line %d
 
-Warning: Wrong parameter count for gmp_clrbit() in %s on line %d
+Warning: gmp_clrbit() expects exactly 2 parameters, 0 given in %s on line %d
 Done
 --UEXPECTF--
 unicode(1) "0"
@@ -67,9 +67,9 @@
 
 Warning: gmp_clrbit(): supplied argument is not a valid GMP integer resource 
in %s on line %d
 
-Warning: Wrong parameter count for gmp_clrbit() in %s on line %d
+Warning: gmp_clrbit() expects exactly 2 parameters, 3 given in %s on line %d
 
-Warning: Wrong parameter count for gmp_clrbit() in %s on line %d
+Warning: gmp_clrbit() expects exactly 2 parameters, 1 given in %s on line %d
 
-Warning: Wrong parameter count for gmp_clrbit() in %s on line %d
+Warning: gmp_clrbit() expects exactly 2 parameters, 0 given in %s on line %d
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/035.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/035.phpt
diff -u php-src/ext/gmp/tests/035.phpt:1.2 php-src/ext/gmp/tests/035.phpt:1.3
--- php-src/ext/gmp/tests/035.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/035.phpt      Tue Nov  6 14:31:08 2007
@@ -28,6 +28,6 @@
 Warning: gmp_popcount(): Unable to convert variable to GMP - wrong type in %s 
on line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_popcount() in %s on line %d
+Warning: gmp_popcount() expects exactly 1 parameter, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/036.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/036.phpt
diff -u php-src/ext/gmp/tests/036.phpt:1.2 php-src/ext/gmp/tests/036.phpt:1.3
--- php-src/ext/gmp/tests/036.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/036.phpt      Tue Nov  6 14:31:08 2007
@@ -33,7 +33,7 @@
 int(0)
 int(26)
 
-Warning: Wrong parameter count for gmp_hamdist() in %s on line %d
+Warning: gmp_hamdist() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
 Warning: gmp_hamdist(): Unable to convert variable to GMP - wrong type in %s 
on line %d
@@ -45,6 +45,6 @@
 Warning: gmp_hamdist(): Unable to convert variable to GMP - wrong type in %s 
on line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_hamdist() in %s on line %d
+Warning: gmp_hamdist() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/037.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/037.phpt
diff -u php-src/ext/gmp/tests/037.phpt:1.2 php-src/ext/gmp/tests/037.phpt:1.3
--- php-src/ext/gmp/tests/037.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/037.phpt      Tue Nov  6 14:31:08 2007
@@ -32,9 +32,9 @@
 Warning: gmp_scan0(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_scan0() in %s on line %d
+Warning: gmp_scan0() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_scan0() in %s on line %d
+Warning: gmp_scan0() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/038.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/038.phpt
diff -u php-src/ext/gmp/tests/038.phpt:1.2 php-src/ext/gmp/tests/038.phpt:1.3
--- php-src/ext/gmp/tests/038.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/038.phpt      Tue Nov  6 14:31:08 2007
@@ -32,9 +32,9 @@
 Warning: gmp_scan1(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_scan1() in %s on line %d
+Warning: gmp_scan1() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_scan1() in %s on line %d
+Warning: gmp_scan1() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 Done
http://cvs.php.net/viewvc.cgi/php-src/ext/gmp/tests/040.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/gmp/tests/040.phpt
diff -u php-src/ext/gmp/tests/040.phpt:1.2 php-src/ext/gmp/tests/040.phpt:1.3
--- php-src/ext/gmp/tests/040.phpt:1.2  Sun May 27 15:12:22 2007
+++ php-src/ext/gmp/tests/040.phpt      Tue Nov  6 14:31:08 2007
@@ -21,15 +21,15 @@
 resource(%d) of type (GMP integer)
 string(8) "98765678"
 
-Warning: Wrong parameter count for gmp_init() in %s on line %d
+Warning: gmp_init() expects at least 1 parameter, 0 given in %s on line %d
 
 Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_init() in %s on line %d
+Warning: gmp_init() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_init() in %s on line %d
+Warning: gmp_init() expects at most 2 parameters, 4 given in %s on line %d
 NULL
 
 Warning: gmp_init(): Bad base for conversion: -1 (should be between 2 and 36) 
in %s on line %d
@@ -42,15 +42,15 @@
 resource(%d) of type (GMP integer)
 unicode(8) "98765678"
 
-Warning: Wrong parameter count for gmp_init() in %s on line %d
+Warning: gmp_init() expects at least 1 parameter, 0 given in %s on line %d
 
 Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on 
line %d
 bool(false)
 
-Warning: Wrong parameter count for gmp_init() in %s on line %d
+Warning: gmp_init() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 
-Warning: Wrong parameter count for gmp_init() in %s on line %d
+Warning: gmp_init() expects at most 2 parameters, 4 given in %s on line %d
 NULL
 
 Warning: gmp_init(): Bad base for conversion: -1 (should be between 2 and 36) 
in %s on line %d

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to