mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-19 11:45:10 +00:00
BigInteger: 2.0 specific updates for __debuginfo
This commit is contained in:
parent
89af727f32
commit
eac8613c75
@ -814,17 +814,17 @@ class BigInteger
|
|||||||
{
|
{
|
||||||
$opts = array();
|
$opts = array();
|
||||||
switch (MATH_BIGINTEGER_MODE) {
|
switch (MATH_BIGINTEGER_MODE) {
|
||||||
case MATH_BIGINTEGER_MODE_GMP:
|
case self::MODE_GMP:
|
||||||
$engine = 'gmp';
|
$engine = 'gmp';
|
||||||
break;
|
break;
|
||||||
case MATH_BIGINTEGER_MODE_BCMATH:
|
case self::MODE_BCMATH:
|
||||||
$engine = 'bcmath';
|
$engine = 'bcmath';
|
||||||
break;
|
break;
|
||||||
case MATH_BIGINTEGER_MODE_INTERNAL:
|
case self::MODE_INTERNAL:
|
||||||
$engine = 'internal';
|
$engine = 'internal';
|
||||||
$opts[] = PHP_INT_SIZE == 8 ? '64-bit' : '32-bit';
|
$opts[] = PHP_INT_SIZE == 8 ? '64-bit' : '32-bit';
|
||||||
}
|
}
|
||||||
if (MATH_BIGINTEGER_MODE != MATH_BIGINTEGER_MODE_GMP && defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) {
|
if (MATH_BIGINTEGER_MODE != self::MODE_GMP && defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) {
|
||||||
$opts[] = 'OpenSSL';
|
$opts[] = 'OpenSSL';
|
||||||
}
|
}
|
||||||
if (!empty($opts)) {
|
if (!empty($opts)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user