You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.
[ x] I was not able to find an open or closed issue matching what I'm seeing.
This is not a question. (Questions should be asked on chat (Signup here) or our forums.)
I was trying to use zend-XMLRPC today and I was receiving data back with type i8 from the XMLRPC server. As noted here, an i8 is a 64-bit integer. I am running the XMLRPC client on a 64-bit machine, where PHP_INT_MAX is 9223372036854775807, and I feel that using BigInteger is not required in this situation.
Would it be possible to add some sort of flag or configuration option, or perhaps detect if the machine is 64-bit, and in that case disable BigInteger support and simply use PHP's native integer for XMLRPC i8 types?
Code to reproduce the issue
// See https://github.com/zendframework/zend-xmlrpc/blob/9f1bf634995d0956fb1af9f63e394787c1211594/src/AbstractValue.php#L193
Expected results
BigInteger is not required on a 64 bit machine
Actual results
Error "Big integer math support is not detected" since either gmp or bcmath module is not installed.
The text was updated successfully, but these errors were encountered:
I was trying to use zend-XMLRPC today and I was receiving data back with type
i8
from the XMLRPC server. As noted here, ani8
is a 64-bit integer. I am running the XMLRPC client on a 64-bit machine, wherePHP_INT_MAX
is9223372036854775807
, and I feel that usingBigInteger
is not required in this situation.Would it be possible to add some sort of flag or configuration option, or perhaps detect if the machine is 64-bit, and in that case disable
BigInteger
support and simply use PHP's native integer for XMLRPCi8
types?Code to reproduce the issue
// See https://github.com/zendframework/zend-xmlrpc/blob/9f1bf634995d0956fb1af9f63e394787c1211594/src/AbstractValue.php#L193
Expected results
BigInteger is not required on a 64 bit machine
Actual results
Error "Big integer math support is not detected" since either
gmp
orbcmath
module is not installed.The text was updated successfully, but these errors were encountered: