PHP 8.4.14 于 2025年10月23日 发布。下面是它带来的全部变更,按每项变更影响的 PHP 部分分组列出。
变更内容以英文列出,与 PHP 开发者撰写的原文完全一致(共 35 项)。
Core
- Fixed bug GH-19765 (object_properties_load() bypasses readonly property checks). (timwolla)
- Fixed hard_timeout with --enable-zend-max-execution-timers. (Appla)
- Fixed bug GH-19792 (SCCP causes UAF for return value if both warning and exception are triggered). (nielsdos)
- Fixed bug GH-19653 (Closure named argument unpacking between temporary closures can cause a crash). (nielsdos, Arnaud, Bob)
- Fixed bug GH-19839 (Incorrect HASH_FLAG_HAS_EMPTY_IND flag on userland array). (ilutov)
- Fixed bug GH-19480 (error_log php.ini cannot be unset when open_basedir is configured). (nielsdos)
- Fixed bug GH-20002 (Broken build on *BSD with MSAN). (outtersg)
CLI
- Fix useless "Failed to poll event" error logs due to EAGAIN in CLI server with PHP_CLI_SERVER_WORKERS. (leotaku)
Curl
- Fix cloning of CURLOPT_POSTFIELDS when using the clone operator instead of the curl_copy_handle() function to clone a CurlHandle. (timwolla)
- Fix curl build and test failures with version 8.16. (nielsdos, ilutov, Jakub Zelenka)
Date
- Fixed GH-17159: "P" format for ::createFromFormat swallows string literals. (nielsdos)
DOM
- Fix macro name clash on macOS. (Ruoyu Zhong)
- Fixed bug GH-20022 (docker-php-ext-install DOM failed). (nielsdos)
GD
- Fixed GH-19955 (imagefttext() memory leak). (David Carlier)
MySQLnd
- Fixed bug #67563 (mysqli compiled with mysqlnd does not take ipv6 adress as parameter). (nielsdos)
Opcache
- Fixed bug GH-19669 (assertion failure in zend_jit_trace_type_to_info_ex). (Arnaud)
- Fixed bug GH-19831 (function JIT may not deref property value). (Arnaud)
- Fixed bug GH-19889 (race condition in zend_runtime_jit(), zend_jit_hot_func()). (Arnaud)
Phar
- Fix memory leak and invalid continuation after tar header writing fails. (nielsdos)
- Fix memory leaks when creating temp file fails when applying zip signature. (nielsdos)
SimpleXML
- Fixed bug GH-19988 (zend_string_init with NULL pointer in simplexml (UB)). (nielsdos)
Soap
- Fixed bug GH-19784 (SoapServer memory leak). (nielsdos)
- Fixed bug GH-20011 (Array of SoapVar of unknown type causes crash). (nielsdos)
Standard
- Fixed bug GH-12265 (Cloning an object breaks serialization recursion). (nielsdos)
- Fixed bug GH-19701 (Serialize/deserialize loses some data). (nielsdos)
- Fixed bug GH-19801 (leaks in var_dump() and debug_zval_dump()). (alexandre-daubois)
- Fixed bug GH-20043 (array_unique assertion failure with RC1 array causing an exception on sort). (nielsdos)
- Fixed bug GH-19926 (reset internal pointer earlier while splicing array while COW violation flag is still set). (alexandre-daubois)
- Fixed bug GH-19570 (unable to fseek in /dev/zero and /dev/null). (nielsdos, divinity76)
Streams
- Fixed bug GH-19248 (Use strerror_r instead of strerror in main). (Jakub Zelenka)
- Fixed bug GH-17345 (Bug #35916 was not completely fixed). (nielsdos)
- Fixed bug GH-19705 (segmentation when attempting to flush on non seekable stream. (bukka/David Carlier)
XMLReader
- Fixed bug GH-20009 (XMLReader leak on RelaxNG schema failure). (nielsdos)
Zip
- Fixed bug GH-19688 (Remove pattern overflow in zip addGlob()). (nielsdos)
- Fixed bug GH-19932 (Memory leak in zip setEncryptionName()/setEncryptionIndex()). (David Carlier)
此列表来自 PHP 开发者随 PHP 源代码一起维护的 NEWS 文件,同样的列表也发布在 php.net 上。
相关文章
有用的文章可帮助您确定是否需要升级服务器的 PHP 版本以及如何升级。
阅读更多 →
如果您不想使用我们的工具或已经尝试过,下面列出了三个简单的测试,您可以执行这些测试来确定您的 PHP 版本。我们按照复杂性的顺序列出了它们,从最简单的开始。
阅读更多 →
← 返回:指南索引
文章最后更新: 21st October, 2026