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)
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"
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"
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
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
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]=>
[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)
[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
[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)
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)
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)
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)
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"
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"
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
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
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
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
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"
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"
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)
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)
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
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
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
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
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--
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
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
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
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--
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
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--
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
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
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
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)
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--
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)
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
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)
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--
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)
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
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
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
--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"
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
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
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
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
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
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)
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)
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
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
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"
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
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"
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
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
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
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
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
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
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
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