Commit eb3204252e7 for php.net
commit eb3204252e72b41a1bf31e08bf708b1115fddd64
Author: Daniel Scherzer <daniel.e.scherzer@gmail.com>
Date: Sun May 10 10:07:35 2026 -0700
UPGRADING: Document `__debugInfo()` for enums
Follow-up to #21425
diff --git a/UPGRADING b/UPGRADING
index f4853af485f..bbf0fc514b6 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -133,6 +133,8 @@ PHP 8.6 UPGRADE NOTES
- Core:
. It is now possible to use reference assign on WeakMap without the key
needing to be present beforehand.
+ . It is now possible to define the `__debugInfo()` magic method on enums.
+ RFC: https://wiki.php.net/rfc/debugable-enums
- Fileinfo:
. finfo_file() now works with remote streams.