O PHP 8.4.25 foi lançado em 27 de agosto de 2026. Abaixo está a lista completa das mudanças que ele trouxe, agrupadas pela parte do PHP que cada uma afeta.
Fixed leak on double DatePeriod::__construct() call. (ilutov)
DOM
Fixed bug GH-23116 (Stack overflow when normalizing a deeply nested DOMDocument). (Lazizbek Ergashev)
Fixed bug GH-23117 (Stack overflow when normalizing a deeply nested Dom\XMLDocument). (Lazizbek Ergashev)
Fixed bug GH-22825 (DOMElement::setAttribute() fails silently when the DTD declares a default value for the attribute). (iliaal)
Fixed bug GH-22447 (UAF at dom_objects_free_storage when setting an attribute node that collides by local name with a namespaced attribute). (David Carlier)
Fixed bug GH-23120 (Stack overflow when comparing deeply nested DOM nodes with DOMNode::isEqualNode()). (Weilin Du)
LibXML
Fixed bug GH-22752 (Build failure with libxml 2.15). (David Carlier)
MBString
Fixed bug GH-22779 (mb_strrpos() returns the wrong position for a negative offset in a non-UTF-8 encoding). (Eyüp Can Akman)
Fixed bug GH-21036 (mb_ereg_search_getregs() crashes after mb_eregi() invalidates the regex cache). (Matthias Goergens)
Opcache
Fixed bug GH-22857 (Function JIT emits wrong code for FETCH_OBJ_FUNC_ARG on a property hook getter, losing register-held variables). (Zhao Hao)
OpenSSL
Fix missing error check on invalid alpn protocols. (ndossche)
Opcache
Fixed bug GH-22916 (Preserve parent regs in zend_jit_deoptimizer_start()). (Arnaud)
PCRE
Fixed bug GH-21134 (Crash with \C + UTF-8). Using \C in UTF-8 patterns is now forbidden. (Arnaud)
Se você não deseja usar nossa ferramenta ou já tentou, o que se segue é uma lista de três testes simples que você pode realizar para determinar sua versão do PHP.Nós os listamos em ordem de complexidade, começando pelo mais fácil.