private function handleIntOverflow($value)
{
if (self::INT_AS_STR === $this->intOverflowMode) {
return \sprintf('%u', $value);
}
if (self::INT_AS_GMP === $this->intOverflowMode) {
return \gmp_init(\sprintf('%u', $value));
}
throw new IntegerOverflowException($value);
}