PHP 8.3.30
Preview: IntegerOverflowException.php Size: 526 B
/home/getspomw/itechservicellc.com/vendor/brick/math/src/Exception/IntegerOverflowException.php

<?php

declare(strict_types=1);

namespace Brick\Math\Exception;

use Brick\Math\BigInteger;

/**
 * Exception thrown when an integer overflow occurs.
 */
class IntegerOverflowException extends MathException
{
    /**
     * @psalm-pure
     */
    public static function toIntOverflow(BigInteger $value) : IntegerOverflowException
    {
        $message = '%s is out of range %d to %d and cannot be represented as an integer.';

        return new self(\sprintf($message, (string) $value, PHP_INT_MIN, PHP_INT_MAX));
    }
}

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
736 B lrw-r--r-- 2025-10-28 20:21:58
Edit Download
526 B lrw-r--r-- 2025-10-28 20:21:58
Edit Download
156 B lrw-r--r-- 2025-10-28 20:21:58
Edit Download
248 B lrw-r--r-- 2025-10-28 20:21:58
Edit Download
969 B lrw-r--r-- 2025-10-28 20:21:58
Edit Download
459 B lrw-r--r-- 2025-10-28 20:21:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).