diff --git a/src/BigInteger.php b/src/BigInteger.php index 3e24b90..f07751f 100644 --- a/src/BigInteger.php +++ b/src/BigInteger.php @@ -100,7 +100,7 @@ class BigInteger extends BigNumber implements \Serializable $sign = ''; } - if ($number === false) { + if ($number === false /* PHP 5 */ || $number === '' /* PHP 7 */) { throw new \InvalidArgumentException('The value cannot be empty.'); }