×
UpdatePHP Pro Авторизоваться Зарегистрироваться
Уведомление об истечении срока действия PHP : PHP v8.1 недавно истек срок действия. На вашем сайте все еще используется эта версия? Нажмите здесь для более подробной информации
БЕЗОПАСНЫЙ версии PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

Примечания к выпуску PHP 8.5.1: что изменилось

PHP 8.5.1 вышла 18 декабря 2025. Ниже приведён полный список изменений в этой версии, сгруппированных по тем частям PHP, которых касается каждое из них.

Безопасность В этом выпуске исправлены проблемы безопасности. С тех пор у PHP 8.5 вышли более новые версии, поэтому если ваш сайт работает на PHP 8.5, обновите его до PHP 8.5.12, где есть эти исправления.

Что изменилось в PHP 8.5.1

Все выпуски PHP 8.5

Изменения приведены на английском языке, точно так, как их записали разработчики PHP (всего 35).

Core

  • Sync all boost.context files with release 1.86.0. (mvorisek)
  • Fixed bug GH-20435 (SensitiveParameter doesn't work for named argument passing to variadic parameter). (ndossche)
  • Fixed bug GH-20546 (preserve_none attribute configure check on macOs issue). (David Carlier/cho-m)
  • Fixed bug GH-20286 (use-after-destroy during userland stream_close()). (ndossche, David Carlier)

Bz2

  • Fix assertion failures resulting in crashes with stream filter object parameters. (ndossche)

DOM

  • Fix memory leak when edge case is hit when registering xpath callback. (ndossche)
  • Fixed bug GH-20395 (querySelector and querySelectorAll requires elements in $selectors to be lowercase). (ndossche)
  • Fix missing NUL byte check on C14NFile(). (ndossche)

Fibers

  • Fixed bug GH-20483 (ASAN stack overflow with fiber.stack_size INI small value). (David Carlier)

Intl

  • Fixed bug GH-20426 (Spoofchecker::setRestrictionLevel() error message suggests missing constants). (DanielEScherzer)

Lexbor

  • Fixed bug GH-20501 (\Uri\WhatWg\Url lose host after calling withPath() or withQuery()). (lexborisov)
  • Fixed bug GH-20502 (\Uri\WhatWg\Url crashes (SEGV) when parsing malformed URL due to Lexbor memory corruption). (lexborisov)

LibXML

  • Fix some deprecations on newer libxml versions regarding input buffer/parser handling. (ndossche)

mysqli

  • Make mysqli_begin_transaction() report errors properly. (Kamil Tekiela)

MySQLnd

  • Fixed bug GH-20528 (Regression breaks mysql connexion using an IPv6 address enclosed in square brackets). (Remi)

Opcache

  • Fixed bug GH-20329 (opcache.file_cache broken with full interned string buffer). (Arnaud)

PDO

Phar

  • Fixed bug GH-20442 (Phar does not respect case-insensitiveness of __halt_compiler() when reading stub). (ndossche, TimWolla)
  • Fix broken return value of fflush() for phar file entries. (ndossche)
  • Fix assertion failure when fseeking a phar file out of bounds. (ndossche)

PHPDBG

  • Fixed ZPP type violation in phpdbg_get_executable() and phpdbg_end_oplog(). (Girgias)

SPL

  • Fixed bug GH-20614 (SplFixedArray incorrectly handles references in deserialization). (ndossche)

Standard

Streams

  • Fixed bug GH-20370 (User stream filters could violate typed property constraints). (alexandre-daubois)

URI

  • Fixed bug GH-20366 (ext/uri incorrectly throws ValueError when encountering null byte). (kocsismate)
  • Fixed CVE-2025-67899 (uriparser through 0.9.9 allows unbounded recursion and stack consumption). (Sebastian Pipping)

XML

  • Fixed bug GH-20439 (xml_set_default_handler() does not properly handle special characters in attributes when passing data to callback). (ndossche)

Zip

  • Fix crash in property existence test. (ndossche)
  • Don't truncate return value of zip_fread() with user sizes. (ndossche)

Zlib

  • Fix assertion failures resulting in crashes with stream filter object parameters. (ndossche)

Этот список взят из файла NEWS, который разработчики PHP ведут вместе с исходным кодом PHP, и тот же список также опубликован на php.net.

Назад к разделу: Указатель руководств
Статья обновлена: 21st October, 2026