Skip to content

v0.3.1

Latest

Choose a tag to compare

@thesis-php-bot thesis-php-bot released this 18 Nov 09:42

Changed

  • Requires PHP 8.2.2+, 64-bit or 32-bit: the polyfill of Time\Duration serves PHP 8.2 to 8.5,
    below PHP 8.4 \RoundingMode comes from symfony/polyfill-php84.
  • On 32-bit PHP a duration is up to about 68 years, and toNs(), toUs(), toMs() and toSec() throw
    Time\TimeException for a result above PHP_INT_MAX.

Fixed

  • A function given NAN throws ValueError without a warning of PHP 8.5 first.