mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-21 21:41:14 +01:00
Merge branch '2.0'
* 2.0: BigInteger: fix PHP7 error
This commit is contained in:
commit
4d4b7f9aec
@ -3519,7 +3519,7 @@ class BigInteger
|
||||
|
||||
switch (MATH_BIGINTEGER_MODE) {
|
||||
case self::MODE_GMP:
|
||||
if (!empty($result->bitmask->value)) {
|
||||
if ($this->bitmask !== false) {
|
||||
$result->value = gmp_and($result->value, $result->bitmask->value);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user