×
UpdatePHP Pro Acceso Registro
Alerta de caducidad de PHP : PHP v8.1 ha expirado recientemente. ¿Su sitio web todavía ejecuta esta versión? Haga clic aquí para más detalles
SEGURO versiones de PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

Notas de la versión PHP 8.5.8: qué ha cambiado

PHP 8.5.8 salió el 2 de julio de 2026. A continuación tienes la lista completa de los cambios que incluye, agrupados según la parte de PHP a la que afecta cada uno.

Seguridad Esta versión corrigió problemas de seguridad. Desde entonces PHP 8.5 ha tenido versiones más nuevas, así que si tu sitio funciona con PHP 8.5, actualízalo a PHP 8.5.12, que incluye estas correcciones.

Qué ha cambiado en PHP 8.5.8

Todas las versiones de PHP 8.5

Los cambios aparecen en inglés, tal como los escribieron los desarrolladores de PHP (24 en total).

Core

  • Fixed bug GH-22280 (Incorrect compile error for goto to label preceding try/finally block). (Pratik Bhujel)
  • Fixed bug GH-22112 (Assertion when error handler throws during NaN to bool/string coercion). (iliaal)

BCMath

  • Fixed issues with oversized allocations and signed overflow in bcround() and BcMath\Number::round(). (edorian)

Date

  • Fix incorrect recurrence check of DatePeriod::createFromISO8601String(). (ndossche)

Exif

  • Read correct value for single and double tags. (ndossche)

GD

  • Fixed bug GH-22121 (Double free in gdImageSetStyle() after overflow-triggered early return). (iliaal)

Intl

  • Fix incorrect argument positions for invalid start/end arguments in transliterator_transliterate(). (Weilin Du)
  • Fixed IntlTimeZone::getDisplayName() to synchronize object error state for invalid display types. (Weilin Du)

Lexbor

  • Merge patch c3a6847. (ilutov, timwolla)

Opcache

  • Fixed bug GH-22265 (Another tailcall vm_interrupt bug). (Levi Morrison)
  • Fixed bug GH-20469 (Unsafe inheritance cache replay with reentrant autoloading). (Levi Morrison)
  • Fixed bug GH-21972 (Corrupted variable type when a typed by-value return contains a reference wrapper). (Weilin Du)

OpenSSL

  • Fixed bug GH-22187 (Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD). (CVE-2026-14355) (David Carlier)

Phar

  • Fixed a bypass of the magic ".phar" directory protection in Phar::addEmptyDir() for paths starting with "/.phar", while allowing non-magic directory names that merely share the ".phar" prefix. (Weilin Du)
  • Fixed an integer underflow when parsing ZIP extra fields. (Weilin Du)

Reflection

  • Preserve class-name case in ReflectionClass::getProperty() error messages and autoloading. (jorgsowa)

SOAP

  • Fixed bug GH-22218 (SoapServer::handle() crash on $_SERVER not being an array). (David Carlier / Rex-Reynolds)
  • Fixed bug GH-22285 (Soap server requires the raw input to be passed to $server->handle). (David Carlier / ndossche)

Sqlite

  • Fix error checks for column retrieval. (ndossche)

URI

  • Add LEXBOR_STATIC to CFLAGS_URI on Windows so ext/uri does not see LXB_API as __declspec(dllimport) when linked statically into PHP. (Luther Monson)
  • Clean error logs before each Uri\WhatWg\Url wither call so that errors from previous wither calls are not returned the next time a UrlValidationError is thrown. (kocsismate)

Zip

  • Fixed error-related memory leaks. (ndossche)

Zlib

  • Fixed memory leak if deflate initialization fails and there is a dict. (ndossche)
  • Fixed memory leak in inflate_add(). (ndossche)

Esta lista procede del archivo NEWS que los desarrolladores de PHP mantienen junto al código fuente de PHP, y la misma lista también se publica en php.net.

Volver a: Índice de guías
Artículo actualizado por última vez: 21st October, 2026