Debian 9909 Published by

Ondřej Surý has released PHP 8.1.10 and 8.2.0 RC1 packages for Debian GNU/Linux 10 and 11.





To add the repository:
#!/bin/bash # To add this repository please do:

if [ "$(whoami)" != "root" ]; then
SUDO=sudo
fi

${SUDO} apt-get -y install apt-transport-https lsb-release ca-certificates curl
${SUDO} wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
${SUDO} sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
${SUDO} apt-get update
PHP 8.2.0-rc1 for Debian 10

PHP Packages
Issues Tracker

php-8.1.10

- Core: . Fixed --CGI-- support of run-tests.php. (cmb)
. Fixed incorrect double to long casting in latest clang. (zeriyoshi)
. Fixed bug GH-9266 (GC root buffer keeps growing when dtors are present). (Michael Olšavský)

- Date:
. Fixed bug GH-8730 (DateTime::diff miscalculation is same time zone of different type). (Derick)
. Fixed bug GH-8964 (DateTime object comparison after applying delta less than 1 second). (Derick)
. Fixed bug GH-9106: (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0). (Derick)
. Fixed bug #81263 (Wrong result from DateTimeImmutable::diff). (Derick)

- DBA:
. Fixed LMDB driver memory leak on DB creation failure (Girgias)
. Fixed bug GH-9155 (dba_open("non-existing", "c-", "flatfile") segfaults) (cmb)

- IMAP:
. Fixed bug GH-9309 (Segfault when connection is used after imap_close()). (cmb)

- Intl:
. Fixed IntlDateFormatter::formatObject() parameter type. (Gert de Pagter)

- MBString:
. Fixed bug GH-9008 (mb_detect_encoding(): wrong results with null $encodings). (cmb)

- OPcache:
. Fixed bug GH-9033 (Loading blacklist file can fail due to negative length). (cmb)
. Fixed bug GH-9164 (Segfault in zend_accel_class_hash_copy). (Arnaud, Sergei Turchanov)

- PDO_SQLite:
. Fixed bug GH-9032 (SQLite3 authorizer crashes on NULL values). (cmb)

- SQLite3:
. Fixed bug GH-9032 (SQLite3 authorizer crashes on NULL values). (cmb)

- Streams:
. Fixed bug GH-8472 (The resource returned by stream_socket_accept may have incorrect metadata). (Jakub Zelenka)
. Fixed bug GH-8409 (SSL handshake timeout leaves persistent connections hanging). (Jakub Zelenka, Twosee)

php-8.2.0RC1

- CLI:
. Implement built-in web server responding without body to HEAD request on a static resource. (Vedran Miletic, Marin Martuslovic)
. Implement built-in web server responding with HTTP status 405 to DELETE/PUT/PATCH request on a static resource. (Vedran Miletic, Marin Martuslovic)

- Core:
. Fixed bug GH-9323 (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)
. Fixed bug GH-9227 (Trailing dots and spaces in filenames are ignored). (cmb)
. Fixed bug GH-9285 (Traits cannot be used in readonly classes). (kocsismate)
. Fixed bug GH-9186 (@strict-properties can be bypassed using unserialization). (kocsismate)

- Date:
. Fixed bug GH-9431 (DateTime::getLastErrors() not returning false when no errors/warnings). (Derick)

- ODBC:
. Fixed bug GH-9347 (Current ODBC liveness checks may be inadequate). (Calvin Buckley)

- Opcache:
. Fixed bug GH-9371 (Crash with JIT on mac arm64) (jdp1024/David Carlier)

- OpenSSL:
. Fixed bug GH-9310 (SSL local_cert and local_pk do not respect open_basedir). (Jakub Zelenka)
. Implement FR #76935 ("chacha20-poly1305" is an AEAD but does not work like AEAD). (Jakub Zelenka)
. Added openssl_cipher_key_length function. (Jakub Zelenka)

- PDO_ODBC:
. Fixed bug GH-9347 (Current ODBC liveness checks may be inadequate). (Calvin Buckley)

- Random:
. Fixed bug GH-9415 (Randomizer::getInt(0, 2**32 - 1) with Mt19937 always returns 1). (timwolla)
. Fixed Randomizer::getInt() consistency for 32-bit engines. (timwolla)
- Streams:
. Fixed bug GH-9316 ($http_response_header is wrong for long status line). (cmb, timwolla)

- XML:
. Added libxml_get_external_entity_loader() function. (Tim Starling)