Skip to content

Commit eb32042

Browse files
UPGRADING: Document __debugInfo() for enums
Follow-up to #21425
1 parent 463c5dc commit eb32042

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

UPGRADING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ PHP 8.6 UPGRADE NOTES
133133
- Core:
134134
. It is now possible to use reference assign on WeakMap without the key
135135
needing to be present beforehand.
136+
. It is now possible to define the `__debugInfo()` magic method on enums.
137+
RFC: https://wiki.php.net/rfc/debugable-enums
136138

137139
- Fileinfo:
138140
. finfo_file() now works with remote streams.

0 commit comments

Comments
 (0)