]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Tue, 6 Nov 2007 14:31:08 +0000 (14:31 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 6 Nov 2007 14:31:08 +0000 (14:31 +0000)
36 files changed:
ext/gmp/tests/004.phpt
ext/gmp/tests/005.phpt
ext/gmp/tests/006.phpt
ext/gmp/tests/007.phpt
ext/gmp/tests/008.phpt
ext/gmp/tests/009.phpt
ext/gmp/tests/010.phpt
ext/gmp/tests/011.phpt
ext/gmp/tests/012.phpt
ext/gmp/tests/013.phpt
ext/gmp/tests/014.phpt
ext/gmp/tests/015.phpt
ext/gmp/tests/016.phpt
ext/gmp/tests/017.phpt
ext/gmp/tests/018.phpt
ext/gmp/tests/019.phpt
ext/gmp/tests/020.phpt
ext/gmp/tests/021.phpt
ext/gmp/tests/022.phpt
ext/gmp/tests/023.phpt
ext/gmp/tests/024.phpt
ext/gmp/tests/025.phpt
ext/gmp/tests/026.phpt
ext/gmp/tests/027.phpt
ext/gmp/tests/028.phpt
ext/gmp/tests/029.phpt
ext/gmp/tests/030.phpt
ext/gmp/tests/031.phpt
ext/gmp/tests/032.phpt
ext/gmp/tests/033.phpt
ext/gmp/tests/034.phpt
ext/gmp/tests/035.phpt
ext/gmp/tests/036.phpt
ext/gmp/tests/037.phpt
ext/gmp/tests/038.phpt
ext/gmp/tests/040.phpt

index d093c04d5912cd5a5d310ee6078368b3dc2fed19..a0fa1cd133c91f55274bea18fe9128512ef3bdcb 100644 (file)
@@ -25,7 +25,7 @@ var_dump(gmp_intval($g));
 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)
index 51f0fb18a52c6b5e206a9d0e18214f28199b1c1a..0417197b0d39790f302635205d1f9e81dd294018 100644 (file)
@@ -32,15 +32,19 @@ var_dump(gmp_strval(new stdclass, new stdclass));
 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 @@ Warning: gmp_strval(): Bad base for conversion: 100000 in %s on line %d
 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 @@ Warning: gmp_strval(): Bad base for conversion: 100000 in %s on line %d
 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
index 0b94bf7eabf4b9fb5661ca08d83c8bf6b48a7487..a685caede3e3008657c3e5ed32abda366058e93c 100644 (file)
@@ -23,28 +23,54 @@ var_dump(gmp_strval($g));
 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
index adcb88b2463df8f7ba837a35ce0318f4de7a0350..ea99e567805f2fce6e48c0a0d7572694bf292d07 100644 (file)
@@ -45,10 +45,10 @@ var_dump(gmp_div_qr(array(), array()));
 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 @@ array(2) {
   [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 @@ array(2) {
   [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 @@ array(2) {
   [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)
index ebd17794d3387f41ca0d1a5195bef8c3de4f38b3..b6a74fabe78b4146c1b831f474e6c2983d2886b9 100644 (file)
@@ -36,34 +36,70 @@ var_dump(gmp_div_r(array(), array()));
 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)
index b5f782fa80212af617fb0fffec267c39707515d6..81087a80a1ad747111548a84d38805e457e44abd 100644 (file)
@@ -36,34 +36,70 @@ var_dump(gmp_div_q(array(), array()));
 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)
index 5ddc2c53c97d10f88d2516fe6bc438482ef93a9a..293a2a0bf20cea27ab94898375b42b4aacbf8478 100644 (file)
@@ -22,10 +22,10 @@ var_dump(gmp_mod($a, $b));
 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)
index 563d4c49a66527e85704d314cba0746c0810d510..e47df03be2b9f631bacd3be4ae1111f2a03dd310 100644 (file)
@@ -39,10 +39,10 @@ var_dump(gmp_strval($r));
 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(18) "200000000000000000"
 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"
 
index c7843020ce379f90fd8fc50fb6372692715987f4..3bf0d0a75fc660cbf86d42c5e5ace8391ad1b4b0 100644 (file)
@@ -33,10 +33,10 @@ int(0)
 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)
 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
index b99853eec9f8ef038baef723fbc500a42a546778..2bfdbb4c616593cc718afd0dfd95678009314fc3 100644 (file)
@@ -34,10 +34,10 @@ string(1) "0"
 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"
 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
index c0d8b36e17fbae393b4d9ef5c13d58035f14b4b7..cf883ad2bd801037002f0ab10a88da093d71b2b2 100644 (file)
@@ -48,10 +48,10 @@ string(11) "87178291200"
 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 @@ unicode(11) "87178291200"
 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"
index 57e7af27d32e740578146bbb6b9c4f471e65d654..39327f0d1c545ffd32be7471ea83357eae5e20b3 100644 (file)
@@ -48,18 +48,20 @@ string(1) "0"
 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(1) "0"
 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)
index 409ca8d717a765d83d8aa5adaeb16c64f1e3d990..0f5271a0cbe9761734f3f616b13512726076d35a 100644 (file)
@@ -58,13 +58,13 @@ bool(false)
 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 @@ bool(false)
 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
index 3d568892cbff7e45dc9f0d75b1c4cb2ac29e12d8..5204622d618b864dfecc609c4f106ebf3796cc2e 100644 (file)
@@ -39,10 +39,10 @@ Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %
 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 @@ Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %
 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
index cbcb1c02b58facd1ec33eb25a837f039249985fb..72f1304e1e683311685d1acf4e56f0ecef1cade1 100644 (file)
@@ -95,7 +95,7 @@ string(1) "1"
 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 @@ unicode(1) "1"
 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
index 10bca880b86b26f09764929cbfc88417598fdb0e..aa596ba9cd0bdb9b33e5df0b9ace1bf089e9ba45 100644 (file)
@@ -39,7 +39,7 @@ bool(false)
 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
index c689ec552cc52532b592b645dcbfbbd8a7da0b2d..f8f3e6921ca30bc11530945d9c7bbfd0dd284436 100644 (file)
@@ -73,7 +73,7 @@ int(0)
 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
index 2d7d9af47ab3d56e858ee4d43371a173a70fe3c5..72ff573f63023679c6aceb96054e97b90d06331a 100644 (file)
@@ -38,15 +38,15 @@ string(1) "1"
 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) "1"
 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
index fe66f9559747690add8f9018dab859f07c1604b9..3cf444734543ab910382fcebf24e039b89ad191b 100644 (file)
@@ -74,13 +74,13 @@ bool(false)
 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 @@ bool(false)
 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
index 794f8a223712cabbc622db8d5ac45fc0e92d330d..e26739de38e76d1c515c4ec31a2a012d4fb11e21 100644 (file)
@@ -38,10 +38,10 @@ string(1) "0"
 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(1) "0"
 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
index 0285f02b8d86ad50b0649d4590272420d3d23c7a..9f718c10dd421f2a28e6f09a25c01b1a4c599968 100644 (file)
@@ -35,20 +35,22 @@ 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(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)
 
 Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on line %d
 bool(false)
@@ -56,13 +58,13 @@ bool(false)
 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
 --UEXPECTF--
@@ -70,20 +72,22 @@ 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(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 @@ bool(false)
 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
index 1b3fd033aff0b9a53449275ad62fd8662eada92f..747121aee165eb25dbc56a3a18927beee2f4ed0e 100644 (file)
@@ -35,20 +35,22 @@ 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(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)
 
 Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s on line %d
 bool(false)
@@ -56,13 +58,13 @@ bool(false)
 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
 --UEXPECTF--
@@ -70,20 +72,22 @@ 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(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 @@ bool(false)
 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
index d9526228755eb4100ab3ce667e2bbc7fc32a557a..e09766c8e0befe4be952a35f1d137a40e0ca464f 100644 (file)
@@ -31,18 +31,18 @@ int(-1)
 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
index d4fee571f76a00672a28481b8700230c0a35c988..71204db98b3bf6b750ddf58a8686d163314a3b57 100644 (file)
@@ -28,12 +28,12 @@ int(-1)
 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
index 346cc279942308cb187c6f35e3e18b6a56d5cb9b..ba4e0a9bdd774bcae08cac4ff3857879016fb268 100644 (file)
@@ -22,16 +22,22 @@ echo "Done\n";
 --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(1) "0"
 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
index 1ee906b6d8e1bb70c5b3ec5c4ab042af3e624759..3a4260c4e05f54d1437e0169d02f3851b1f2a826 100644 (file)
@@ -35,10 +35,10 @@ string(1) "0"
 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(1) "0"
 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
index af762a6b1561fb2112782a01bb6e800bc160d59c..0944a34adde85feac7c6e2622b2dd09d0cbaf1d3 100644 (file)
@@ -35,10 +35,10 @@ string(1) "0"
 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(1) "0"
 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
index 4bf36def9b68ada805fe2b8ba610b4e2bee6f65c..dda6ced6c68e3f69343ec122c69ce76ff95bb348 100644 (file)
@@ -37,7 +37,7 @@ string(12) "-98765463338"
 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 @@ unicode(12) "-98765463338"
 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)
index 5753fa2d46df35bca4064f2feb2d9084d72c0d87..ea9ed3277a7e7cc21048f27922da41ce601ef3d5 100644 (file)
@@ -35,10 +35,10 @@ string(1) "0"
 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(1) "0"
 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
index a41d848c4a4701ec7744166e7948bc559008f238..e696e23c587cc4c406e4bcc6077e94246b49b8a4 100644 (file)
@@ -54,13 +54,13 @@ string(12) "100000000008"
 
 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 @@ unicode(12) "100000000008"
 
 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
index 4ba5697b5fbec4b3e5947a33f7e3529ec73f5ab1..509aaed70e0fb8ac2f920705cbda578976221a84 100644 (file)
@@ -48,11 +48,11 @@ string(30) "238462734628347239571822592658"
 
 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 @@ unicode(30) "238462734628347239571822592658"
 
 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
index a9b0c1a3323fdad7c5812811338c153e7a5fd2c2..4b45a044810b6f7a16996357b2a5660edd7fdd8f 100644 (file)
@@ -28,6 +28,6 @@ int(20)
 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
index fa2d67c8221d6fb2a84b9b5e37a0fc0185ad24a1..c21e03ccb25aa79b94b304b0ad239580ab25d224 100644 (file)
@@ -33,7 +33,7 @@ int(43)
 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 @@ bool(false)
 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
index 4789043029308b1f977f5ec301b0c3eabfd4674a..2a87a968a24bbd5edee29910efc23458b383900b 100644 (file)
@@ -32,9 +32,9 @@ int(13)
 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
index b278c2586c820182e3b7578b1c2b2ecd05cef202..7ebce9be7d1d5885b017b9efdc649e3cf4f45e72 100644 (file)
@@ -32,9 +32,9 @@ int(10)
 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
index 61b7d4945b0f17f44d54d9ee754114865660bd30..4ea6b15ef3c6350b2097b44608e4e9df3e36427d 100644 (file)
@@ -21,15 +21,15 @@ echo "Done\n";
 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 @@ Done
 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