Software 42327 Published by

Ben Ramsey has announced that the third beta of PHP 8.1.0 is now available for testing.




Release php-8.1.0beta3

- Core:
. Fixed bug #81342 (New ampersand token parsing depends on new line after it). (Nikita)
. Fixed bug #81280 (Unicode characters in cli.prompt causes segfault). (krakjoe)
. Fixed bug #81192 ("Declaration should be compatible with" gives incorrect line number with traits). (Nikita)
. Fixed bug #78919 (CLI server: insufficient cleanup if request startup fails). (cataphract, cmb)

- Date:
. Fixed bug #79580 (date_create_from_format misses leap year). (Derick)
. Fixed bug #80963 (DateTimeZone::getTransitions() truncated). (Derick)
. Fixed bug #80974 (Wrong diff between 2 dates in different timezones). (Derick)
. Fixed bug #80998 (Missing second with inverted interval). (Derick)
. Fixed bug #81097 (DateTimeZone silently falls back to UTC when providing an offset with seconds). (Derick)
. Fixed bug #81106 (Regression in 8.1: add() now truncate ->f). (Derick)
. Fixed bug #81273 (Date interval calculation not correct). (Derick)

- Mbstring:
. Fixed bug #81349 (mb_detect_encoding misdetcts ASCII in some cases). (Nikita)

- PDO PgSQL:
. Fixed bug #81343 (pdo_pgsql: Inconsitent boolean conversion after calling closeCursor()). (Philip Hofstetter)

- Phar:
. Use SHA256 by default for signature. (remi)
. Add support for OpenSSL_SHA256 and OpenSSL_SHA512 signature. (remi)

- SNMP:
. Implement SHA256 and SHA512 for security protocol. (remi)

- Standard:
. Fixed bug #81142 (PHP 7.3+ memory leak when unserialize() is used on an associative array). (Nikita)



Release php-8.1.0beta3 · php/php-src