From 1c1f08c282a37763dcf3ae5445c044ce92bb38f1 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Mon, 25 Aug 2025 22:27:17 +0200 Subject: [PATCH] Update NEWS/UPGRADING for disable_classes removal --- NEWS | 1 + UPGRADING | 3 +++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 1a2369ea2d0..fec36651e7f 100644 --- a/NEWS +++ b/NEWS @@ -29,6 +29,7 @@ PHP NEWS (ilutov) . Prohibit pipe & arrow function combination that leads to confusing parse trees. (ilutov) + . The disable_classes INI directive has been removed. (Girgias) - Filter: . Added support for configuring the URI parser for FILTER_VALIDATE_URL diff --git a/UPGRADING b/UPGRADING index dd37bb21b45..7c6371062b1 100644 --- a/UPGRADING +++ b/UPGRADING @@ -55,6 +55,9 @@ PHP 8.5 UPGRADE NOTES ReflectionAttribute::newInstance() was called an error would be thrown. The error can be delayed from compilation to runtime using the new #[\DelayedTargetValidation] attribute. + . The disable_classes INI setting has been removed as it causes various + engine assumptions to be broken. + RFC: https://wiki.php.net/rfc/deprecations_php_8_5#remove_disable_classes_ini_setting - DOM: . Cloning a DOMNamedNodeMap, DOMNodeList, Dom\NamedNodeMap, Dom\NodeList,