We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf10074 commit efaa6a8Copy full SHA for efaa6a8
ext/gmp/gmp.c
@@ -299,7 +299,7 @@ static zend_result binop_operator_helper(gmp_binary_op_t gmp_op, zval *return_va
299
}
300
return FAILURE;
301
302
- if (!gmp_zend_parse_arg_into_mpz_ex(op2, &gmp_op2, 1, true)) {
+ if (!gmp_zend_parse_arg_into_mpz_ex(op2, &gmp_op2, 2, true)) {
303
if (!EG(exception)) {
304
zend_type_error("Number must be of type GMP|string|int, %s given", zend_zval_value_name(op2));
305
0 commit comments