#1129017 php-phpseclib3: Version 3.0.49-1 dep8 fails on armhf with PHP 8.5

#1129017#5
Date:
2026-02-25 20:36:13 UTC
From:
To:
Dear Maintainer,

During the PHP 8.5 transition on Ubuntu, we found failures in dep8 tests
on armhf, as can be seen in the logs:
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/armhf/p/php-phpseclib3/20260217_125240_82d81@/log.gz

Where one can read:

448s PHP Warning: The float 3166450293 is not representable as an int, cast occurred in /usr/share/php/phpseclib3/Crypt/Twofish.php on line 376

448s PHP Warning: The float 4251020053 is not representable as an int, cast occurred in /usr/share/php/phpseclib3/Crypt/Blowfish.php on line 451

This warning wasn't being issued in PHP8.4, but are in PHP8.5.