mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
BigInteger: the !== [] check only works on PHP 5.4+
This commit is contained in:
parent
61423b217f
commit
4af1bb4c17
@ -1586,7 +1586,7 @@ class Math_BigInteger
|
||||
$temp_value = array($quotient_value[$q_index]);
|
||||
$temp = $temp->multiply($y);
|
||||
$temp_value = &$temp->value;
|
||||
if ($temp_value !== []) {
|
||||
if (!count($temp_value)) {
|
||||
$temp_value = array_merge($adjust, $temp_value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user